From f79ce8b93a8c8e7d3c9b5afa66db4dd5d9bee4e4 Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Fri, 26 Jun 2020 12:54:48 -0700 Subject: [PATCH] [asset] fix: bump the timeout [(#4181)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/4181) fixes #4164 --- samples/snippets/quickstart_searchallresources_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/quickstart_searchallresources_test.py b/samples/snippets/quickstart_searchallresources_test.py index ae79a69f..ff472482 100644 --- a/samples/snippets/quickstart_searchallresources_test.py +++ b/samples/snippets/quickstart_searchallresources_test.py @@ -53,7 +53,7 @@ def test_search_all_resources(asset_dataset, capsys): # Dataset creation takes some time to propagate, so the dataset is not # immediately searchable. Need some time before the snippet will pass. @backoff.on_exception( - backoff.expo, (AssertionError), max_time=30 + backoff.expo, (AssertionError), max_time=120 ) def eventually_consistent_test(): quickstart_searchallresources.search_all_resources(scope, query=query)