Skip to content

Commit

Permalink
chore: add retry on flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Nov 28, 2024
1 parent ae95291 commit 5ed2bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pytest
pytest-mock
pytest-cov
pytest-order
pytest-retry
pytest-asyncio
httpx
grpcio-tools==1.40.0
1 change: 1 addition & 0 deletions tests/integration/utils/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def test_getIISSInfo():
assert output


@pytest.mark.flaky(delay=1, retries=3)
def test_getIISSInfo_networks(tmp_set_settings):
with tmp_set_settings("ICON_NODE_URL", "https://api.berlin.icon.community/api/v3"):
output = getIISSInfo(height=1)
Expand Down

0 comments on commit 5ed2bcb

Please sign in to comment.