Skip to content

Migrate to testcontainers#3636

Closed
luis100 wants to merge 1 commit intodevelopmentfrom
claude/migrate-testcontainers-UxQLa
Closed

Migrate to testcontainers#3636
luis100 wants to merge 1 commit intodevelopmentfrom
claude/migrate-testcontainers-UxQLa

Conversation

@luis100
Copy link
Copy Markdown
Member

@luis100 luis100 commented Mar 26, 2026

No description provided.

Previously, tests required a running stack of Docker services (ZooKeeper,
Solr, PostgreSQL, LDAP, MailHog) either via docker-compose or pre-started
GitHub Actions service containers. LDAP was already managed via
Testcontainers; this change extends the same pattern to the remaining services.

Key changes:
- TestContainersManager: singleton that starts ZooKeeper, Solr (Cloud mode),
  and PostgreSQL containers once per test suite run, then sets the system
  properties that ConfigurationManager and Spring Boot read for connection URLs.
- RodaContainersLifecycleListener: TestNG ISuiteListener registered in
  testng.xml so containers start (and system properties are set) before any
  test class is instantiated or any Spring context is initialised.
- ConfigurationManager.getConfigurationString: now checks System.getProperty
  as a fallback between the OS environment variable and the config file,
  allowing test helpers to override settings without forking the JVM.
- CI.yml: removes the ZooKeeper, Solr, PostgreSQL, and MailHog service
  container definitions and their corresponding environment variable overrides;
  the test suite now self-provisions all required infrastructure via
  Testcontainers.

https://claude.ai/code/session_01KuXDU1UWFJrTiZWK2hqPVj
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Mar 26, 2026
@luis100 luis100 changed the base branch from master to development March 26, 2026 22:02
@dosubot dosubot bot added dependencies Pull requests that update a dependency file size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Mar 26, 2026
@luis100 luis100 changed the title Add httpcore dependency Migrate to testcontainers Mar 26, 2026
@hmiguim hmiguim closed this Mar 27, 2026
@hmiguim hmiguim deleted the claude/migrate-testcontainers-UxQLa branch March 27, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants