mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
Trying to make testRemoteKill less prone to random failure (presumably on a heavily loaded machine).
This commit is contained in:
1 parent
4c0cfe40c9
commit
df4ba0d82c
1 file changed
+1
-1
@@ -56,7 +56,7 @@ public class LauncherTest extends ChannelTestCase {
|
||||
p.kill();
|
||||
assertTrue(p.join()!=0);
|
||||
long end = System.currentTimeMillis();
|
||||
assertTrue("join finished promptly", (end - start < 5000));
|
||||
assertTrue("join finished promptly", (end - start < 15000));
|
||||
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())));
|
||||
|
||||
Reference in new issue
Block a user