File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/google-cloud-bigtable/docs Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3333import pytest
3434
3535from test_utils .system import unique_resource_id
36+ from test_utils .retry import RetryErrors
37+ from google .api_core .exceptions import TooManyRequests
3638from google .cloud ._helpers import UTC
3739from google .cloud .bigtable import Client
3840from google .cloud .bigtable import enums
6466CELL_VAL2 = b"cell-val2"
6567ROW_KEY2 = b"row_key_id2"
6668
69+ retry_429 = RetryErrors (TooManyRequests , max_tries = 9 )
70+
6771
6872class Config (object ):
6973 """Run-time configuration to be modified at set-up.
@@ -102,7 +106,7 @@ def setup_module():
102106
103107
104108def teardown_module ():
105- Config .INSTANCE .delete ()
109+ retry_429 ( Config .INSTANCE .delete ) ()
106110
107111
108112def test_bigtable_create_table ():
You can’t perform that action at this time.
0 commit comments