[firestore] fix: mark 3 tests as flaky (#3295) · code4ward/python-docs-samples@4b43e62 · GitHub
Skip to content

Commit 4b43e62

Browse files
Takashi Matsuocrwilcox
andauthored
[firestore] fix: mark 3 tests as flaky (GoogleCloudPlatform#3295)
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. Co-authored-by: Christopher Wilcox <crwilcox@google.com>
1 parent 4c2ec33 commit 4b43e62

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions

firestore/cloud-client/snippets_test.py

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)