mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-17 17:07:53 +00:00
8057150: Add more diagnostics to JMXStartStopTest
Reviewed-by: sla, dfuchs
This commit is contained in:
parent
0fdc2863c1
commit
e4085cd0a6
@ -617,7 +617,10 @@ public class JMXStartStopTest {
|
||||
busyPort = ss.getLocalPort();
|
||||
jcmd(
|
||||
line -> {
|
||||
if (line.contains("Port already in use: " + busyPort)) {
|
||||
boolean match = line.contains("Port already in use: " +
|
||||
busyPort);
|
||||
System.out.println("[match] " + line + " => " + match);
|
||||
if (match) {
|
||||
checks.getAndUpdate((op) -> op | 4);
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user