Integrated: 8214733: runtime/8176717/TestInheritFD.java timed out
Harold Seigel
hseigel at openjdk.java.net
Mon Jan 24 13:37:08 UTC 2022
On Fri, 21 Jan 2022 15:23:54 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
This pull request has now been integrated.
Changeset: 4501ddda
Author: Harold Seigel <hseigel at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4501ddda7f8e0eb9352a937030a62902bfaac647
Stats: 6 lines in 1 file changed: 2 ins; 1 del; 3 mod
8214733: runtime/8176717/TestInheritFD.java timed out
Reviewed-by: lmesnik, coleenp, dcubed
-------------
PR: https://git.openjdk.java.net/jdk/pull/7179
More information about the hotspot-runtime-dev
mailing list