You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/02/08 20:09:35 UTC

[maven-surefire] branch maven2surefire-jvm-communication updated: fixed checkstyle

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch maven2surefire-jvm-communication
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/maven2surefire-jvm-communication by this push:
     new d3d4153  fixed checkstyle
d3d4153 is described below

commit d3d4153729ced5eefec9ec25f5c457994693aac1
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Feb 8 21:09:26 2020 +0100

    fixed checkstyle
---
 .../java/org/apache/maven/surefire/extensions/ForkChannelTest.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/maven-surefire-common/src/test/java/org/apache/maven/surefire/extensions/ForkChannelTest.java b/maven-surefire-common/src/test/java/org/apache/maven/surefire/extensions/ForkChannelTest.java
index e8b0dcf..431cb91 100644
--- a/maven-surefire-common/src/test/java/org/apache/maven/surefire/extensions/ForkChannelTest.java
+++ b/maven-surefire-common/src/test/java/org/apache/maven/surefire/extensions/ForkChannelTest.java
@@ -51,10 +51,12 @@ import static org.mockito.Mockito.verify;
 @PowerMockIgnore( { "org.jacoco.agent.rt.*", "com.vladium.emma.rt.*" } )
 public class ForkChannelTest
 {
+    private static final long TESTCASE_TIMEOUT = 30_000L;
+
     @Mock
     private StreamConsumer consumer;
 
-    @Test( timeout = 30_000L )
+    @Test( timeout = TESTCASE_TIMEOUT )
     public void test() throws Exception
     {
         ForkNodeFactory factory = new SurefireForkNodeFactory();