From b7b61317afef6d31c6798f8fdfa7e57379fac974 Mon Sep 17 00:00:00 2001 From: Mike <45373284+munkhuushmgl@users.noreply.github.com> Date: Mon, 26 Oct 2020 15:49:54 -0700 Subject: [PATCH] chore: fixed flaky test by adding retry (#66) --- .../samples/analyze/beta_snippets_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/google-cloud-videointelligence/samples/analyze/beta_snippets_test.py b/packages/google-cloud-videointelligence/samples/analyze/beta_snippets_test.py index 85d4e4c28700..bcb6c7bc489e 100644 --- a/packages/google-cloud-videointelligence/samples/analyze/beta_snippets_test.py +++ b/packages/google-cloud-videointelligence/samples/analyze/beta_snippets_test.py @@ -104,6 +104,7 @@ def test_track_objects_streaming(capsys, video_path): @pytest.mark.slow +@pytest.mark.flaky(max_runs=3, min_passes=1) def test_detect_explicit_content_streaming(capsys, video_path): beta_snippets.detect_explicit_content_streaming(video_path)