Fixed Thread timing issue in unit test that can cause issues on the build server.

This commit is contained in:
lucasward
2008-01-18 00:54:03 +00:00
parent 8565fdc069
commit 016e7e40c9

View File

@@ -94,7 +94,7 @@ public class DefaultJobLauncherTests extends TestCase {
assertTrue(jobLauncher.isRunning(jobIdentifier));
Thread.sleep(100);
Thread.sleep(250);
assertFalse(jobLauncher.isRunning(jobIdentifier));
assertEquals(ExitStatus.FINISHED, jobExecution.getExitStatus());
}