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

Upgrade logging-parent to version 11.3.0 #2963

Closed

Conversation

ppkarwasz
Copy link
Contributor

This PR upgrades to the latest version of logging-parent.

It's target branch is #2941 and should be merged after it (and after logging-parent 11.3.0 is released).

It includes 3 additional changes:

All these changes involve only tests, by improving them. E.g. the MongoDB integration tests no longer use an old (possibly deprecated) version of MongoDB, but the latest compatible with the driver.

Copy link

github-actions bot commented Sep 18, 2024

Job Requested goals Build Tool Version Build Outcome Build Scan®
build-macos-latest clean install 3.9.8 Build Scan NOT_PUBLISHED
build-ubuntu-latest clean install 3.9.8 Build Scan NOT_PUBLISHED
build-windows-latest clean install 3.9.8 Build Scan NOT_PUBLISHED
Generated by gradle/develocity-actions

@ppkarwasz ppkarwasz marked this pull request as ready for review September 22, 2024 08:07
ppkarwasz and others added 9 commits September 22, 2024 10:31
The `HttpWatcher` didn't propagate the observed
last modification time back to the configuration.
As a result, each new configuration was already
deprecated when it started and the reconfiguration
process looped.

Closes #2937

Rewrite Jetty tests using WireMock

Closes #2813
MongoDB is a binary server. The current `log4j-mongodb`
tests download a **generic** binary MongoDB distribution
and try to run it. The distribution is not self-contained
and requires several libraries (e.g., OpenSSL) to be available
on the target host.

Those libraries are not always available in the required version:
e.g., currently MongoDB needs OpenSSL 1, but OpenSSL 3 is bundled
in the most recent Debian.

This PR switches from the binary distribution to the usage of
the **latest** Docker image available.

The advantages of this approach are:

- We always test against the newest server version available.
- The success of the tests does not depend on the libraries
  installed on the host.
- Tests can run in parallel. In the current approach, parallel
  tests failed since each one tried to download MongoDB
  separately.

The main disadvantage is that Docker will be required to test
`log4j-mongodb`. This is the case for the CI, but individual
developers might need to install it too.

Co-authored-by: Volkan Yazıcı <volkan@yazi.ci>
@ppkarwasz ppkarwasz force-pushed the feature/2.x/logging-parent-11.3.0 branch from 9127152 to 149dbe7 Compare September 22, 2024 08:31
@ppkarwasz
Copy link
Contributor Author

Merged in 93483ef

@ppkarwasz ppkarwasz closed this Sep 22, 2024
@ppkarwasz ppkarwasz deleted the feature/2.x/logging-parent-11.3.0 branch September 22, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants