Skip to content

Commit 9a04631

Browse files
author
Alex Menkov
committedMay 14, 2020
8244973: serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"
Reviewed-by: dholmes, sspitsyn
1 parent 43da9ff commit 9a04631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/hotspot/jtreg/serviceability/attach/RemovingUnixDomainSocketTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ private static void runJCmd(long pid) throws InterruptedException, IOException {
6565
"jcmd stderr: [" + out.getStderr() + "]\n" +
6666
"jcmd exitValue = " + out.getExitValue());
6767

68-
out.stderrShouldBeEmptyIgnoreVMWarnings()
69-
.stderrShouldBeEmpty();
68+
out.shouldHaveExitValue(0)
69+
.stderrShouldBeEmptyIgnoreVMWarnings();
7070
}
7171

7272
public static void main(String... args) throws Exception {

0 commit comments

Comments
 (0)
Please sign in to comment.