From dd0eef7629c4bd5ea4ee25b93596b2e8b4ce506f Mon Sep 17 00:00:00 2001 From: kclowes Date: Wed, 15 Dec 2021 15:07:08 -0700 Subject: [PATCH] Bump Geth Integration test WebsocketProvider timeout to 30s --- newsfragments/2260.misc.rst | 1 + tests/integration/go_ethereum/test_goethereum_ws.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragments/2260.misc.rst diff --git a/newsfragments/2260.misc.rst b/newsfragments/2260.misc.rst new file mode 100644 index 0000000000..34b65af0b8 --- /dev/null +++ b/newsfragments/2260.misc.rst @@ -0,0 +1 @@ +Bump timeout for WebsocketProvider in Geth integration tests diff --git a/tests/integration/go_ethereum/test_goethereum_ws.py b/tests/integration/go_ethereum/test_goethereum_ws.py index 109d4cec0b..7de95ba63c 100644 --- a/tests/integration/go_ethereum/test_goethereum_ws.py +++ b/tests/integration/go_ethereum/test_goethereum_ws.py @@ -65,7 +65,7 @@ def geth_command_arguments(geth_binary, @pytest.fixture(scope="module") def web3(geth_process, endpoint_uri, event_loop): event_loop.run_until_complete(wait_for_ws(endpoint_uri, event_loop)) - _web3 = Web3(Web3.WebsocketProvider(endpoint_uri, websocket_timeout=20)) + _web3 = Web3(Web3.WebsocketProvider(endpoint_uri, websocket_timeout=30)) return _web3