Skip to content

Commit f3ec2a0

Browse files
authored
chore: added retry for flaky test (#84)
1 parent 17a81f5 commit f3ec2a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

videointelligence/samples/analyze/beta_snippets_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ def test_track_objects(capsys):
149149
assert "Entity id" in out
150150

151151

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

0 commit comments

Comments
 (0)