the test is still failing. adding more delay

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23556 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-11-07 00:51:39 +00:00
1 parent 97711f3d3c
commit ebfa6a0e2d
1 file changed
+2 -1
+2 -1
View File
@@ -51,7 +51,8 @@ public class LauncherTest extends ChannelTestCase {
assertTrue(p.join()!=0);
long end = System.currentTimeMillis();
assertTrue("join finished promptly", (end - start < 5000));
french.call(NOOP); // this only returns after the other side of the channel has finished executing cancellation
french.call(NOOP); // this only returns after the other side of the channel has finished executing cancellation
Thread.sleep(2000); // more delay to make sure it's gone
assertNull("process should be gone",ProcessTree.get().get(Integer.parseInt(FileUtils.readFileToString(tmp).trim())));
// Manual version of test: set up instance w/ one slave. Now in script console