8293099: JFR: Typo in TestRemoteDump.java

Reviewed-by: mgronlun
This commit is contained in:
Erik Gahlin 2022-10-03 07:04:30 +00:00
parent 03f25a9c69
commit bc668b994d

View File

@ -119,7 +119,7 @@ public class TestRemoteDump {
var f1 = service.submit(f);
var f2 = service.submit(f);
var f3 = service.submit(f);
if (!f1.get() && !f1.get() && !f3.get()) {
if (!f1.get() || !f2.get() || !f3.get()) {
throw new Exception("Failed to dump multiple recordings simultanously");
}
service.shutdown();