You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2014/07/19 20:56:07 UTC

git commit: even three seconds wait time seem to be too little sometimes

Repository: ant
Updated Branches:
  refs/heads/master 49d1d9845 -> af875267e


even three seconds wait time seem to be too little sometimes


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/af875267
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/af875267
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/af875267

Branch: refs/heads/master
Commit: af875267edf7dbe63c07caa71132aa9f07c66a8f
Parents: 49d1d98
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sat Jul 19 20:55:47 2014 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sat Jul 19 20:55:47 2014 +0200

----------------------------------------------------------------------
 .../junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/af875267/src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java
----------------------------------------------------------------------
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java
index aede740..b742760 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/ExecTaskTest.java
@@ -47,10 +47,10 @@ public class ExecTaskTest {
     private static final String BUILD_FILE = BUILD_PATH + "exec.xml";
     private static final int TIME_TO_WAIT = 1;
     /** maximum time allowed for the build in milliseconds */
-    private static final int MAX_BUILD_TIME = 4000;
-    private static final int SECURITY_MARGIN = 3000; // wait 3 second extras
+    private static final int MAX_BUILD_TIME = 6000;
+    private static final int SECURITY_MARGIN = 4000; // wait 4 second extras
     // the test failed with 100 ms of margin on cvs.apache.org on August 1st, 2003
-    // the test failed with 2 s of margin on Windows Jenkins slaves on during July 2014
+    // the test randomly failed with 3 s of margin on Windows Jenkins slaves on during July 2014
 
     /** Utilities used for file operations */
     private static final FileUtils FILE_UTILS = FileUtils.getFileUtils();