Skip to content

Commit

Permalink
Problem: there are flaky integration tests (#1177)
Browse files Browse the repository at this point in the history
for subscribe test, retry once with flaky plugin
  • Loading branch information
mmsqe authored Sep 20, 2023
1 parent 9f66ade commit 9364b65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration_tests/test_subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import time
from collections import defaultdict

import pytest
import websockets
from eth_utils import abi
from hexbytes import HexBytes
Expand Down Expand Up @@ -81,6 +82,7 @@ async def unsubscribe(self, sub_id):
TEST_EVENT_TOPIC = Web3.keccak(text="TestEvent(uint256)")


@pytest.mark.flaky(max_runs=2)
def test_subscribe_basic(cronos: Cronos):
"""
test basic subscribe and unsubscribe
Expand Down

0 comments on commit 9364b65

Please sign in to comment.