From 9364b65b480df348588f83a803004c2e67c78884 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 20 Sep 2023 23:52:51 +0800 Subject: [PATCH] Problem: there are flaky integration tests (#1177) for subscribe test, retry once with flaky plugin --- integration_tests/test_subscribe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration_tests/test_subscribe.py b/integration_tests/test_subscribe.py index ed6658a192..1e88dcc1a5 100644 --- a/integration_tests/test_subscribe.py +++ b/integration_tests/test_subscribe.py @@ -3,6 +3,7 @@ import time from collections import defaultdict +import pytest import websockets from eth_utils import abi from hexbytes import HexBytes @@ -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