diff --git a/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java b/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java index a63d0345a..a56824cb2 100644 --- a/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java +++ b/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java @@ -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;