RFR: 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion

Jaikiran Pai jpai at openjdk.org
Sat Jul 13 02:21:55 UTC 2024


On Fri, 12 Jul 2024 11:55:14 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this test-only change which proposes to address the issue noted in https://bugs.openjdk.org/browse/JDK-8336301?
> 
> The update in this PR, marks the FIFO file to be deleted upon JVM exit so that it isn't left around causing any subsequent process reading that file to block forever.
> 
> After this change, I've locally verified that this file isn't left around irrespective of whether or not the test passes.
> 
> The test continues to pass with this change. tier2 testing with this change is currently in progress.

Thank you Alan for the review. tier2 testing went fine, plus I intentionally introduced a failure in this test (a local change) and then triggered a run of this test and this time the logs and artifacts were correctly collected and archived as a post failure step.

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

PR Comment: https://git.openjdk.org/jdk/pull/20156#issuecomment-2226724067


More information about the nio-dev mailing list