On Tue, 29 Jun 2021 16:58:53 GMT, Chris Hegarty <che...@openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   8269481: Set state to KILLED *before* closing socket
>
> test/jdk/com/sun/nio/sctp/SctpMultiChannel/CloseDescriptors.java line 71:
> 
>> 69:         ProcessBuilder pb = new ProcessBuilder(
>> 70:                 "lsof", "-U", "-a", "-p", Long.toString(myPid));
>> 71:         Process p = pb.start();
> 
> Is this test stable? Do we do similar `losf` in other areas ?

`test/jdk/java/net/DatagramSocket/UnreferencedDatagramSockets.java
`
`test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java
`

Might want to change this test to be robust as to the location of the `lsof` 
executable.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4621

Reply via email to