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

Linearize streaming client to prevent flaky tests #147

Closed
wants to merge 1 commit into from

Conversation

erickpintor
Copy link
Contributor

There's one class of flaky tests which emerges from the fact that a read-only query to create a stream token will contain a snapshot time instead of a transaction time as its starting time. Subsequent writes may come back with a txn time lower than the stream's starting time, which can't be used as a resumable point. Making the test client linearized just makes testing more reliable here.

@erickpintor
Copy link
Contributor Author

We ended up adding fix on the database side that is meant to prevent this scenario. I'll follow up on the fix there.

@erickpintor erickpintor deleted the streaming-linearized branch April 29, 2024 13:07
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