8244973: serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"

Reviewed-by: dholmes, sspitsyn
This commit is contained in:
Alex Menkov 2020-05-14 10:29:52 -07:00
parent 43da9ff24e
commit 9a0463165d

View File

@ -65,8 +65,8 @@ public class RemovingUnixDomainSocketTest {
"jcmd stderr: [" + out.getStderr() + "]\n" +
"jcmd exitValue = " + out.getExitValue());
out.stderrShouldBeEmptyIgnoreVMWarnings()
.stderrShouldBeEmpty();
out.shouldHaveExitValue(0)
.stderrShouldBeEmptyIgnoreVMWarnings();
}
public static void main(String... args) throws Exception {