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

Commit

Permalink
chore: added retry for flaky test (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhuushmgl committed Dec 2, 2020
1 parent 735d8a1 commit 17d84c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/analyze/beta_snippets_test.py
Expand Up @@ -149,7 +149,9 @@ def test_track_objects(capsys):
assert "Entity id" in out


# Flaky exceeding designed timeout
@pytest.mark.slow
@pytest.mark.flaky(max_runs=3, min_passes=1)
def test_track_objects_gcs():
in_file = "gs://cloud-samples-data/video/cat.mp4"
object_annotations = beta_snippets.track_objects_gcs(in_file)
Expand Down

0 comments on commit 17d84c2

Please sign in to comment.