Trying to make testRemoteKill less prone to random failure (presumably on a heavily loaded machine).

This commit is contained in:
Jesse Glick committed 2014-08-21 10:25:58 -04:00
1 parent 4c0cfe40c9
commit df4ba0d82c
1 file changed
+1 -1
+1 -1
View File
@@ -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())));