Browse Source

Increase timeout in ExecuteWatchdog test to improve its chance to

pass.  The race condition is still there, this only masks the problem
that a Thread that sleeps for TIME_OUT/2 might not terminate within
TIME_OUT.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268698 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
a6e0d48578
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/testcases/org/apache/tools/ant/taskdefs/ExecuteWatchdogTest.java

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

@@ -65,7 +65,7 @@ import java.io.*;
*/
public class ExecuteWatchdogTest extends TestCase {

private final static int TIME_OUT = 2000;
private final static int TIME_OUT = 5000;

private final static String TEST_CLASSPATH = getTestClassPath();



Loading…
Cancel
Save