Skip to content

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 9597b6e commit ca22a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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 asset/snippets/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 ca22a72

Please sign in to comment.