8057150: Add more diagnostics to JMXStartStopTest

Reviewed-by: sla, dfuchs
This commit is contained in:
Jaroslav Bachorik 2014-09-03 16:05:41 +02:00
parent 0fdc2863c1
commit e4085cd0a6

View File

@ -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);
}
},