Skip to content
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

Remove ancient test fixtures and dependencies #3039

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

ppkarwasz
Copy link
Contributor

This removes the test dependency on oro:oro and the VelocityTest, which uses Apache Velocity 1.7 for no clear reason.

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.
This removes the test dependency on `oro:oro` and the `VelocityTest`, which uses Apache Velocity 1.7 for no clear reason.
@ppkarwasz ppkarwasz added legacy-1.2-bridge tests Pull requests or issues related to tests labels Oct 1, 2024
Since `log4j-1.2-api` is a legacy component, reactivating disabled tests is not worth the effort.

Therefore, we remove all the disabled tests and the test fixtures they used.
@ppkarwasz
Copy link
Contributor Author

@vy,

I also removed the disabled tests in DOMTestCase and all the test fixtures they used.

Personally I find that enabling new tests in log4j-1.2-api is not worth the effort, except if users report a bug.

@ppkarwasz ppkarwasz requested a review from vy October 7, 2024 12:19
Copy link
Member

@vy vy left a comment

Choose a reason for hiding this comment

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

I also removed the disabled tests in DOMTestCase and all the test fixtures they used.

+1

Personally I find that enabling new tests in log4j-1.2-api is not worth the effort, except if users report a bug

+1

@ppkarwasz ppkarwasz merged commit bd40913 into 2.x Oct 7, 2024
9 checks passed
@ppkarwasz ppkarwasz deleted the fix/2.x/remove-dinosaurs branch October 7, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-1.2-bridge tests Pull requests or issues related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants