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:53:01 UTC
[maven-invoker] branch FIXBUILD_ISSUE updated: Enhanced sleeping
time to at least 5 seconds.
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 127b777 Enhanced sleeping time to at least 5 seconds.
127b777 is described below
commit 127b7774e4dc8c4ed03ac40e367b0923cbee33dc
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Fri May 11 12:52:44 2018 +0200
Enhanced sleeping time to at least 5 seconds.
---
.../src/test/java/org/apache/maven/shared/invoker/AppTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/resources/test-build-should-timeout/src/test/java/org/apache/maven/shared/invoker/AppTest.java b/src/test/resources/test-build-should-timeout/src/test/java/org/apache/maven/shared/invoker/AppTest.java
index 3a01f8a..b1ab6d2 100644
--- a/src/test/resources/test-build-should-timeout/src/test/java/org/apache/maven/shared/invoker/AppTest.java
+++ b/src/test/resources/test-build-should-timeout/src/test/java/org/apache/maven/shared/invoker/AppTest.java
@@ -53,7 +53,8 @@ public class AppTest
public void testApp()
{
while (true) {
- Thread.sleep(1);
+ // Make sure the whole build will take at least 5 seconds.
+ Thread.sleep(5000L);
}
assertTrue(true);
--
To stop receiving notification emails like this one, please contact
khmarbaise@apache.org.