提交 fd874cb6 编写于 作者: R robm

7191777: test/java/lang/ProcessBuilder/Basic.java failing intermittently due...

7191777: test/java/lang/ProcessBuilder/Basic.java failing intermittently due to additions for 4244896
Reviewed-by: dholmes, alanb
上级 b6a78be3
...@@ -2228,12 +2228,7 @@ public class Basic { ...@@ -2228,12 +2228,7 @@ public class Basic {
p.destroy(); p.destroy();
start = System.nanoTime();
p.waitFor(1000, TimeUnit.MILLISECONDS); p.waitFor(1000, TimeUnit.MILLISECONDS);
end = System.nanoTime();
// allow for the less accurate default implementation
if ((end - start) > 200000000)
fail("Test failed: waitFor took too long on a dead process.");
} catch (Throwable t) { unexpected(t); } } catch (Throwable t) { unexpected(t); }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册