Skip to content

Commit 3e84f09

Browse files
author
Takashi Matsuo
authored
fix(sample): mark a test with flaky (#81)
fixes #75
1 parent 420da8b commit 3e84f09

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/google-cloud-asset/samples/snippets/quickstart_searchallresources_test.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def asset_dataset(bigquery_client):
4646
raise e
4747

4848

49+
@pytest.mark.flaky(max_runs=3, min_passes=1)
4950
def test_search_all_resources(asset_dataset, capsys):
5051
scope = "projects/{}".format(PROJECT)
5152
query = "name:{}".format(DATASET)
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
backoff==1.10.0
2+
flaky==3.7.0
23
pytest==5.4.3

0 commit comments

Comments
 (0)