refactor(integration-tests): simplify test harness#1183
refactor(integration-tests): simplify test harness#1183romanbrodetski-ai wants to merge 1 commit into
Conversation
|
Potential correctness issue: for NEXT_TO_GATEWAY, restarting the primary tester looks like it drops the supporting gateway runtime. TestEnvironment::launch() stores the gateway as an owned supporting node, but Tester::stop() drops supporting nodes and StoppedTester::start_with_config() does not recreate them, so a restarted tester may keep gateway_rpc_url pointing at a gateway process that has already been shut down. |
70e3b94 to
03053d8
Compare
There was a problem hiding this comment.
please elaborate on upgrade test changes, because I don't follow
There was a problem hiding this comment.
They were more complex than needed. Now fixed. Thanks for flagging!
| reth-provider = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.1" } | ||
| reth-rpc-eth-types = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.1" } | ||
| reth-tasks = { git = "https://github.com/paradigmxyz/reth", tag = "v1.11.1" } | ||
| reth-db-models = { git = "https://github.com/romanbrodetski-ai/reth.git", branch = "fix/discv5-shutdown-v1.11.1" } |
There was a problem hiding this comment.
Added to PR descrtiption - we use reth fork with a fix that makes ssure the port is released when networking is tore down. This is needed to properly test node restart behaviour in int. tests.
9ce2f64 to
7da7821
Compare
7da7821 to
e358de3
Compare
Summary
Testing