Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix Flaky Integration Test in TestDomainReplicationDLQ #6851

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

Conversation

timl3136
Copy link
Member

@timl3136 timl3136 commented Apr 22, 2025

What changed?
Resolve flakiness in the TestDomainReplicationDLQ integration test by implementing retry logic for message publishing operations. The test was failing intermittently due to race conditions in concurrent message publishing.

Why?
Flaky tests cause unwanted delay in testing and can create noise which it makes us unlikely to locate issues detected by tests.

How did you test it?
Run the integration test for 20 times using following script:
docker-compose -f docker/buildkite/docker-compose-local.yml run --rm integration-test-cassandra go test ./host/persistence/cassandra/... -run TestCassandraQueuePersistence/TestDomainReplicationDLQ -count=20

Potential risks

Release notes

Documentation Changes

@timl3136 timl3136 merged commit 838c678 into cadence-workflow:master Apr 22, 2025
23 checks passed
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.