Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
fix(sample): mark a test with flaky (#81)
Browse files Browse the repository at this point in the history
fixes #75
  • Loading branch information
Takashi Matsuo authored 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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.