You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "olamy (via GitHub)" <gi...@apache.org> on 2026/07/27 01:41:36 UTC
[PR] Fix Windows flake in CommandChannelDecoderTest (#3400) Backport of #3400 in surefire-3.5.x branch [maven-surefire]
olamy opened a new pull request, #3403:
URL: https://github.com/apache/maven-surefire/pull/3403
The test initializes DumpErrorSingleton into the JUnit @TempDir;
several tests write .dumpstream files there. On Windows a freshly
written file can be transiently locked (antivirus, indexer) right when
the @TempDir cleanup runs, failing the whole class with
DirectoryNotEmptyException ('Failed to close extension context').
JUnit 5.14's resilient cleanup retries do not close the gap. Writing
the dumps under target/ needs no post-test cleanup at all.
Co-authored-by: Gerd Aschemann <as...@apache.org>
Co-authored-by: Claude Fable 5 <no...@anthropic.com>
Following this checklist to help us incorporate your
contribution quickly and easily:
- [ ] Each commit in the pull request should have a meaningful subject line and body.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Run `mvn clean install` to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
- [ ] You have run the integration tests successfully (`mvn -Prun-its clean install`).
If your pull request is about ~20 lines of code you don't need to sign an
[Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
you have to acknowledge this by using the following check-box.
- [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
- [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix Windows flake in CommandChannelDecoderTest (#3400) Backport of #3400 in surefire-3.5.x branch [maven-surefire]
Posted by "olamy (via GitHub) via issues" <is...@maven.apache.org>.
olamy closed pull request #3403: Fix Windows flake in CommandChannelDecoderTest (#3400) Backport of #3400 in surefire-3.5.x branch
URL: https://github.com/apache/maven-surefire/pull/3403
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org