Skip to content

Fix handling of CleanupMode.ON_SUCCESS #4466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2025

Conversation

marcphilipp
Copy link
Member

@marcphilipp marcphilipp commented Apr 9, 2025

Overview

  • Add 5.12.2 release notes from template
  • Fix handling of CleanupMode.ON_SUCCESS

Fixes #4464.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@marcphilipp marcphilipp self-assigned this Apr 9, 2025
Copy link
Member

@sormuras sormuras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation and new test cases look good.

Prior to this commit, when a test failed all temp dirs created
subsequently with `CleanupMode.ON_SUCCESS` were not deleted even if
those tests passed.

Fixes #4464.
@marcphilipp marcphilipp force-pushed the marc/4464-fix-on-success-cleanup-mode branch from acf0ff2 to b36e605 Compare April 11, 2025 13:35
@marcphilipp marcphilipp merged commit 48276fd into main Apr 11, 2025
13 checks passed
@marcphilipp marcphilipp deleted the marc/4464-fix-on-success-cleanup-mode branch April 11, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@TempDir directories of successful tests are not cleaned with ON_SUCCESS mode
2 participants