Fix test errors #31

Merged
McPringle merged 3 commits from fix/test-errors into main 2026-05-05 11:34:24 +02:00
McPringle commented 2026-04-30 11:50:20 +02:00 (Migrated from github.com)

While running the tests, I noticed a few issues:

  • Mixing of TestContainers versions (2.0.1, 2.0.2, and 2.0.3)
  • Enabling Reuse, even though it is not supported and prone to errors (warning in the log)
  • Explicitly setting the HostPortWaitStrategy (the container sets one itself)
  • Unnecessary setup of the test context for a test class with disabled (manual) tests
  • One test exposed a potential NullPointerException in the production code
While running the tests, I noticed a few issues: - Mixing of TestContainers versions (2.0.1, 2.0.2, and 2.0.3) - Enabling Reuse, even though it is not supported and prone to errors (warning in the log) - Explicitly setting the `HostPortWaitStrategy` (the container sets one itself) - Unnecessary setup of the test context for a test class with disabled (manual) tests - One test exposed a potential `NullPointerException` in the production code
Sign in to join this conversation.
No description provided.