You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/05/11 10:36:58 UTC
[maven-invoker] branch FIXBUILD_ISSUE updated: Recuded timeout
value.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch FIXBUILD_ISSUE
in repository https://gitbox.apache.org/repos/asf/maven-invoker.git
The following commit(s) were added to refs/heads/FIXBUILD_ISSUE by this push:
new b97310e Recuded timeout value.
b97310e is described below
commit b97310e3583cd3cc7dce5a293d11bba4d1663706
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Fri May 11 12:36:47 2018 +0200
Recuded timeout value.
---
.../java/org/apache/maven/shared/invoker/DefaultInvokerTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java b/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java
index 2a539e5..7aacf4e 100644
--- a/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java
+++ b/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java
@@ -99,7 +99,10 @@ public class DefaultInvokerTest
request.setBaseDirectory( basedir );
request.setDebug( true );
request.setGoals( Arrays.asList( "clean", "package" ) );
- request.setTimeoutInSeconds( 4 );
+ // Using 1 second to make sure we will always get an timeout
+ // Maybe in the future on a faster system this will not work anymore,
+ // but for now it works.
+ request.setTimeoutInSeconds( 1 );
request.setOutputHandler( new SystemOutHandler() );
if ( !System.getProperty( "java.version" ).startsWith( "1." ) )
--
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.