RFR: 8214733: runtime/8176717/TestInheritFD.java timed out [v2]
Harold Seigel
hseigel at openjdk.java.net
Mon Jan 24 13:37:07 UTC 2022
On Fri, 21 Jan 2022 20:45:39 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
>> Please review this small change to fix TestInheritFD.java. The logs in the JBS bug indicate that the test probably timed out waiting for the lsof command to finish. This fix adds the -a and +d <dir> options to the lsof command to limit its scope. The +d option tells lsof to only look in the specified directory for open files. The -a option combines the -p <pid> and the +d option. (An alternative fix would be to use the -b option.)
>>
>> The fix was tested by running the test 1000 times on Linux x64 and Mac OS aarch64. The fix was also sanity tested on Linux aarch64, Mac OS x64, and windows.
>>
>> Thanks, Harold
>
> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>
> Add comment
Thanks Leonid, Coleen, and Dan for the reviews!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7179
More information about the hotspot-runtime-dev
mailing list