RFR: 8214733: runtime/8176717/TestInheritFD.java timed out [v2]
Harold Seigel
hseigel at openjdk.java.net
Fri Jan 21 20:45:39 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7179/files
- new: https://git.openjdk.java.net/jdk/pull/7179/files/db0325d0..dc7c3b3c
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7179&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7179&range=00-01
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/7179.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7179/head:pull/7179
PR: https://git.openjdk.java.net/jdk/pull/7179
More information about the hotspot-runtime-dev
mailing list