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

Draft
wants to merge 7 commits into
base: fix/2.x/2937-http-watcher
Choose a base branch
from

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.

ppkarwasz and others added 7 commits September 18, 2024 10:25
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>
Copy link

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

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