Browse Source

increase time allocated for shell script to complete,

following failure of the test on August 1st 2003 on cvs.apache.org


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275008 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
e7ac20bf98
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java

+ 2
- 1
src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java View File

@@ -72,7 +72,8 @@ public class ExecTaskTest extends BuildFileTest {
private final int TIME_TO_WAIT = 4;
/** maximum time allowed for the build in milliseconds */
private final int MAX_BUILD_TIME = 4000;
private final int SECURITY_MARGIN = 100; // wait 100 millis extras
private final int SECURITY_MARGIN = 1000; // wait 1 second extras
// the test failed with 100 ms of margin on cvs.apache.org on August 1st, 2003
private File logFile;
private MonitoredBuild myBuild = null;
volatile private boolean buildFinished = false;


Loading…
Cancel
Save