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 flake in TestQueryOnlyCoroutineUsage #1204

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Fix flake in TestQueryOnlyCoroutineUsage. I believe the issue here is the coroutine is cleaned up after the query response is returned to the server so the test can assert before the last goroutine is cleaned up.

Before my change the test would fail ~10% of the time locally. Not it does not fail after 1000 iterations

example failure: https://github.com/temporalio/sdk-go/actions/runs/5933076179/job/16087965782

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner August 22, 2023 14:26
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 20c550a into temporalio:master Aug 22, 2023
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