8274453: (sctp) com/sun/nio/sctp/SctpChannel/CloseDescriptors.java test should be resilient to lsof warnings
Reviewed-by: dfuchs
This commit is contained in:
parent
edd9d1c97b
commit
b1b66965f1
@ -120,7 +120,7 @@ public class CloseDescriptors {
|
||||
private static boolean check() throws Exception {
|
||||
long myPid = ProcessHandle.current().pid();
|
||||
ProcessBuilder pb = new ProcessBuilder(
|
||||
"lsof", "-U", "-a", "-p", Long.toString(myPid));
|
||||
"lsof", "-U", "-a", "-w", "-p", Long.toString(myPid));
|
||||
pb.redirectErrorStream(true);
|
||||
Process p = pb.start();
|
||||
p.waitFor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user