Skip to content

Commit

Permalink
Increase number of flaky reruns and add 2 s delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jvavrek committed Apr 1, 2022
1 parent 4f93eb5 commit 72a1055
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/nndc_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_20(self):
nndc._parse_float_uncertainty("7", "@")


@pytest.mark.flaky(reruns=3)
@pytest.mark.flaky(reruns=10, reruns_delay=2)
class NNDCQueryTests:
"""Tests common to NNDCQuery-derived classes."""

Expand Down Expand Up @@ -559,7 +559,7 @@ def test_query_zrange_7_20_elevelrange_01_inf(self):


@pytest.mark.webtest
@pytest.mark.flaky(reruns=3)
@pytest.mark.flaky(reruns=10, reruns_delay=2)
class TestNuclearWalletCard(NNDCQueryTests):
"""Test NNDC nuclear_wallet_card query."""

Expand Down Expand Up @@ -703,7 +703,7 @@ def test_wallet_exception_too_many(self):


@pytest.mark.webtest
@pytest.mark.flaky(reruns=3)
@pytest.mark.flaky(reruns=10, reruns_delay=2)
class TestDecayRadiationQuery(NNDCQueryTests):
"""Test NNDC decay_radiation."""

Expand Down

0 comments on commit 72a1055

Please sign in to comment.