Skip to content

Commit

Permalink
[dlp] fix: increase the number of retries for some tests (#3685)
Browse files Browse the repository at this point in the history
fixes #3673
  • Loading branch information
Takashi Matsuo authored May 4, 2020
1 parent 4d4147d commit c4e06d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dlp/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 c4e06d7

Please sign in to comment.