mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 17:50:45 +00:00
7191777: test/java/lang/ProcessBuilder/Basic.java failing intermittently due to additions for 4244896
Reviewed-by: dholmes, alanb
This commit is contained in:
parent
d35a91d60d
commit
e81dadf112
@ -2228,12 +2228,7 @@ public class Basic {
|
||||
|
||||
p.destroy();
|
||||
|
||||
start = System.nanoTime();
|
||||
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); }
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user