RFR: 8052403 java/util/logging/CheckZombieLockTest.java fails with NoSuchFileException
daniel.fuchs at oracle.com
Wed Aug 13 12:43:12 UTC 2014
Please find below a fix for
8052403: java/util/logging/CheckZombieLockTest.java fails
The issue here is that CheckZombieLockTest and CheckLockLocationTest use
(create and delete) the same writable-dir under /tmp.
When jtreg is run with a high concurrency factor this sometimes results
in one of the tests deleting the directory that the other is
running. I could verify this by triggering the same failure with:
jtreg -verbose:all -jdk $MYJDK -conc:12 \
The fix simply arranges for CheckZombieLockTest to use a different
directory than that used by CheckLockLocationTest (and also improves
the diagnostic by arranging for setUp() to fail fast if the test
lock file cannot be created).
More information about the core-libs-dev