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 flaky test - testDocumentInKafkaTransactionError #682

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

vthacker
Copy link
Contributor

@vthacker vthacker commented Sep 21, 2023

Summary

I hardened the test to ensure timing issue doesn't mess with asserts with offsets.

Previously the assert for consumer offset depends on when kafka producer flushes documents to the broker.

This PR also adds linger.ms to the producer to match what we have today

@vthacker vthacker force-pushed the vthacker/fix_testDocumentInKafkaTransactionError branch from cbf6562 to b8ed919 Compare September 21, 2023 22:32
@vthacker vthacker changed the title more test logs for testDocumentInKafkaTransactionError Fix flaky test - testDocumentInKafkaTransactionError Sep 21, 2023
@vthacker vthacker marked this pull request as ready for review September 21, 2023 23:50
@vthacker vthacker merged commit a1c4146 into master Sep 22, 2023
@vthacker vthacker deleted the vthacker/fix_testDocumentInKafkaTransactionError branch September 22, 2023 16:36
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