From 3e548dae323b212a547045024560bf8a56e9fe87 Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Mon, 4 May 2020 21:53:50 +0000 Subject: [PATCH] [dlp] fix: increase the number of retries for some tests fixes #3673 --- dlp/risk_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlp/risk_test.py b/dlp/risk_test.py index 5f172bcbc8d2..b8acffc4ce5c 100644 --- a/dlp/risk_test.py +++ b/dlp/risk_test.py @@ -232,7 +232,7 @@ def test_k_anonymity_analysis_single_field( assert "Class size:" in out -@pytest.mark.flaky +@pytest.mark.flaky(max_runs=3, min_passes=1) def test_k_anonymity_analysis_multiple_fields( topic_id, subscription_id, bigquery_project, capsys ): @@ -272,7 +272,7 @@ def test_l_diversity_analysis_single_field( assert "Sensitive value" in out -@pytest.mark.flaky +@pytest.mark.flaky(max_runs=3, min_passes=1) def test_l_diversity_analysis_multiple_field( topic_id, subscription_id, bigquery_project, capsys ): @@ -314,7 +314,7 @@ def test_k_map_estimate_analysis_single_field( assert "Values" in out -@pytest.mark.flaky +@pytest.mark.flaky(max_runs=3, min_passes=1) def test_k_map_estimate_analysis_multiple_field( topic_id, subscription_id, bigquery_project, capsys ):