Deflake bigtable and spanner tests. (#2224) · code4ward/python-docs-samples@231be14 · GitHub
Skip to content

Commit 231be14

Browse files
authored
Deflake bigtable and spanner tests. (GoogleCloudPlatform#2224)
* Spanner doesn't actually promise the order of the results, so make the assertion work regardless of ordering. * Bigtable might need some more time to scale, so retry the assertion up to 10 times.
1 parent 1ac7d42 commit 231be14

2 files changed

Lines changed: 22 additions & 10 deletions

File tree

bigtable/metricscaler/metricscaler_test.py

Lines changed: 19 additions & 9 deletions

spanner/cloud-client/snippets_test.py

Lines changed: 3 additions & 1 deletion

0 commit comments

Comments
 (0)