Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[firestore] fix: mark 3 tests as flaky #3295

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

Merged
merged 3 commits into from
Apr 8, 2020

Conversation

tmatsuo
Copy link
Contributor

@tmatsuo tmatsuo commented Apr 7, 2020

fixes #3131

These tests are testing sample code that has sleep(1) in it.
The test is naturally flaky, but when I run the test 100 times, they all
pass, so they are somewhat stable.

I believe it will mitigate the flakiness a lot just by retrying 3 times.

If it doesn't work, we'll probably need to make a fundamental fix to
remove sleep(1) calls.

fixes GoogleCloudPlatform#3131

These tests are testing sample code that has `sleep(1)` in it.
The test is naturally flaky, but when I run the test 100 times, they all
pass, so they are somewhat stable.

I believe it will mitigate the flakiness a lot just by retrying 3 times.

If it doesn't work, we'll probably need to make a fundamental fix to
remove `sleep(1)` calls.
@tmatsuo tmatsuo requested review from frankyn and kurtisvg April 7, 2020 22:42
@tmatsuo tmatsuo requested review from BenWhitehead and a team as code owners April 7, 2020 22:42
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 7, 2020
@tmatsuo tmatsuo removed the request for review from frankyn April 7, 2020 22:43
@crwilcox
Copy link
Contributor

crwilcox commented Apr 8, 2020

I am not sure if flaky is working right now but marking these seems like a good call? @leahecole @kurtisvg

@kurtisvg
Copy link
Contributor

kurtisvg commented Apr 8, 2020

I am not sure if flaky is working right now but marking these seems like a good call? @leahecole @kurtisvg

Is there a reason flaky wouldn't be working?

@tmatsuo tmatsuo merged commit 4b43e62 into GoogleCloudPlatform:master Apr 8, 2020
@tmatsuo tmatsuo deleted the fix-firestore branch April 8, 2020 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

firestore.cloud-client.snippets_test: test_listen_multiple failed
4 participants