Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit ee93cef

Browse files
committed
8271158: runtime/handshake/HandshakeTimeoutTest.java test doesn't check exit code
Reviewed-by: dcubed
1 parent 84be910 commit ee93cef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/hotspot/jtreg/runtime/handshake/HandshakeTimeoutTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public static void main(String[] args) throws Exception {
5757
"HandshakeTimeoutTest$Test");
5858

5959
OutputAnalyzer output = ProcessTools.executeProcess(pb);
60+
output.shouldNotHaveExitValue(0);
6061
output.reportDiagnosticSummary();
6162
// In rare cases the target wakes up and performs the handshake at the same time as we timeout.
6263
// Therefore it's not certain the timeout will find any thread.

0 commit comments

Comments
 (0)