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

OAK-11429: JUnit tests with an RDB profile will occasionally fail whe… #2025

Open
wants to merge 7 commits into
base: trunk
Choose a base branch
from

Conversation

mbaedke
Copy link
Contributor

@mbaedke mbaedke commented Jan 24, 2025

…n run against a automatically starting DB2 docker container. 

When failing the initial connect to the database, reuse the datasource when retrieving a new connection.

…n run against a automatically starting DB2 docker container. 

When failing the initial connect to the database, reuse the datasource when retrieving a new connection.
@mbaedke mbaedke marked this pull request as draft January 24, 2025 12:25
Copy link

Commit-Check ✔️

mbaedke and others added 3 commits February 5, 2025 15:29
…n run against a automatically starting DB2 docker container. 

Hardened container startup.
…l=jdbc:db2://localhost:50000/OAK -Drdb.jdbc-user=oak -Drdb.jdbc-passwd=geheim -Drdb.docker-image=icr.io/db2_community/db2:11.5.9.0 -Drdb.docker-env='LICENSE=accept,DB2INSTANCE=oak,DB2INST1_PASSWORD=geheim,DBNAME=oak' -Dmax.jar.size=200000000 -Doak.skipMongo -Dtest=CacheConsistencyRDBTest

Improved connection validity check.
@mbaedke mbaedke marked this pull request as ready for review February 7, 2025 09:41
…n run against a automatically starting DB2 docker container. 

Improved waiting strategy, code cleanup.
@mbaedke mbaedke requested a review from reschke February 7, 2025 14:41
…n run against a automatically starting DB2 docker container. 

Don't try to reuse datasources when initializing the docker environment.
@mbaedke mbaedke removed the request for review from reschke February 7, 2025 15:03
…n run against a automatically starting DB2 docker container. 

Fixed misplaced connection close call.
@mbaedke mbaedke requested a review from reschke February 7, 2025 15:17
Copy link

sonarqubecloud bot commented Feb 7, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

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.

1 participant