Skip to content

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

Merged
tmatsuo merged 3 commits into
GoogleCloudPlatform:masterfrom
tmatsuo:fix-firestore
Apr 8, 2020
Merged

[firestore] fix: mark 3 tests as flaky#3295
tmatsuo merged 3 commits into
GoogleCloudPlatform:masterfrom
tmatsuo:fix-firestore

Conversation

@tmatsuo
Copy link
Copy Markdown
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 a team and BenWhitehead 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
Copy Markdown
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
Copy Markdown
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