Skip to content

Conversation

ppkarwasz
Copy link
Contributor

The @TempLoggingDir JUnit 5 extensions create a totally deterministic directory to hold the log files for tests.

Since the directory is deleted only if all the tests succeed, this causes a problem with test reruns.

The `@TempLoggingDir` JUnit 5 extensions create a totally deterministic directory to hold the log files for tests.

Since the directory is deleted only if all the tests succeed, this causes a problem with test reruns.
@ppkarwasz ppkarwasz self-assigned this Sep 16, 2024
Due to a minor bug in JUnit 5.11.x (junit-team/junit-framework#4054), fields meta-annotated with multiple `@ExtendWith` annotations are no longer recognized.
We combine those annotations into single `@ExtendWith` annotations, which also looks better.

Closes #2843.
…e-random-logging-path

# Conflicts:
#	log4j-parent/pom.xml
@vy vy added the tests Pull requests or issues related to tests label Oct 9, 2024
@vy vy added this to the 2.25.0 milestone Oct 9, 2024
@ppkarwasz ppkarwasz merged commit 41e6282 into 2.x Dec 3, 2024
9 checks passed
@ppkarwasz ppkarwasz deleted the fix/2.x/use-random-logging-path branch December 3, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Pull requests or issues related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants