提交 ebfa6a0e 编写于 作者: K kohsuke

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
上级 97711f3d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册