antoine     2003/08/01 06:36:56

  Modified:    src/testcases/org/apache/tools/ant/taskdefs
                        ExecTaskTest.java
  Log:
  increase time allocated for shell script to complete,
  following failure of the test on August 1st 2003 on cvs.apache.org
  
  Revision  Changes    Path
  1.6       +2 -1      
ant/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java
  
  Index: ExecTaskTest.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/ExecTaskTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ExecTaskTest.java 30 Jul 2003 09:10:09 -0000      1.5
  +++ ExecTaskTest.java 1 Aug 2003 13:36:56 -0000       1.6
  @@ -72,7 +72,8 @@
       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;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to