Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(sample): mark a test with flaky (#81)
fixes #75
  • Loading branch information
Takashi Matsuo committed Sep 9, 2020
1 parent e7b7899 commit aa153dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/snippets/quickstart_searchallresources_test.py
Expand Up @@ -46,6 +46,7 @@ def asset_dataset(bigquery_client):
raise e


@pytest.mark.flaky(max_runs=3, min_passes=1)
def test_search_all_resources(asset_dataset, capsys):
scope = "projects/{}".format(PROJECT)
query = "name:{}".format(DATASET)
Expand Down
1 change: 1 addition & 0 deletions samples/snippets/requirements-test.txt
@@ -1,2 +1,3 @@
backoff==1.10.0
flaky==3.7.0
pytest==5.4.3

0 comments on commit aa153dc

Please sign in to comment.