Skip to content

Commit a0b8865

Browse files
author
SendaoYan
committed
8274453: (sctp) com/sun/nio/sctp/SctpChannel/CloseDescriptors.java test should be resilient to lsof warnings
Backport-of: b1b66965f1ec6eae547cc4f70f8271bd39ded6da
1 parent 7addb31 commit a0b8865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/com/sun/nio/sctp/SctpChannel/CloseDescriptors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private static void doIt(int port) throws Exception {
120120
private static boolean check() throws Exception {
121121
long myPid = ProcessHandle.current().pid();
122122
ProcessBuilder pb = new ProcessBuilder(
123-
"lsof", "-U", "-a", "-p", Long.toString(myPid));
123+
"lsof", "-U", "-a", "-w", "-p", Long.toString(myPid));
124124
pb.redirectErrorStream(true);
125125
Process p = pb.start();
126126
p.waitFor();

0 commit comments

Comments
 (0)