From e7ac20bf984e0ea0fbcba339fc0a4fe208668374 Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Fri, 1 Aug 2003 13:36:56 +0000 Subject: [PATCH] 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 --- src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;