Commit b5d01d09 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix port detection timeout for replaying nodes

When a node runs with replay_from, beekeepy waits for both HTTP and P2P
ports to become available. However, the P2P plugin only starts listening
after replay completes, which can take much longer than beekeepy's default
5-second initialization_timeout.

This caused intermittent FailedToDetectReservedPortsError failures in
mirrornet tests that replay large block_logs before syncing.

The fix updates settings.initialization_timeout to match the test timeout
when replaying, because beekeepy's _wait_for_app_to_start() reads the
timeout from settings directly rather than using the parameter passed to
_run().
parent d850f1c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment