Skip to content

Commit

Permalink
[dlp] fix: increase the number of retries for some tests [(#3685)](Go…
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo authored May 4, 2020
1 parent 5341587 commit 25a1337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/snippets/risk_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand Down Expand Up @@ -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
):
Expand Down Expand Up @@ -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
):
Expand Down

0 comments on commit 25a1337

Please sign in to comment.