mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 20:18:49 +00:00
8186044: [TESTBUG] DumpSharedDictionary test sometimes fails in JPRT
Wrap test in CDSTestUtils.isUnableToMap(out) Reviewed-by: iklam, mseledtsov
This commit is contained in:
parent
1453d9cb23
commit
e1528538f4
@ -62,7 +62,9 @@ public class DumpSharedDictionary {
|
||||
"-Xshare:on", "DumpSharedDictionary", "test");
|
||||
|
||||
out = CDSTestUtils.executeAndLog(pb, "exec");
|
||||
out.shouldHaveExitValue(0);
|
||||
if (!CDSTestUtils.isUnableToMap(out)) {
|
||||
out.shouldHaveExitValue(0);
|
||||
}
|
||||
} else {
|
||||
// Grab my own PID
|
||||
String pid = Long.toString(ProcessTools.getProcessId());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user