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

fix: failing integration tests due to not waiting for TAZ cluster to fully failover #472

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

karenc-bq
Copy link
Contributor

Description

TAZ takes a longer time to recover after failover.
Tests need to ensure all instances are available by attempting to establish a connection after triggering failover.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karenc-bq karenc-bq force-pushed the fix/integration-tests branch from 0286913 to 2508e7f Compare March 28, 2024 03:34
@karenc-bq karenc-bq force-pushed the fix/integration-tests branch from 2508e7f to a1d27eb Compare March 28, 2024 15:16
@@ -102,12 +102,22 @@ private TestEnvironment(TestEnvironmentRequest request) {
}

public static TestEnvironment build(TestEnvironmentRequest request) throws IOException {
DatabaseEngineDeployment deployment = request.getDatabaseEngineDeployment();
if (deployment == DatabaseEngineDeployment.AURORA
|| deployment == DatabaseEngineDeployment.RDS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about RDS. It's not clear whether they need checks for topology.

@karenc-bq karenc-bq enabled auto-merge (squash) April 1, 2024 22:50
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