diff options
author | merge-script <fanquake@gmail.com> | 2024-09-02 15:14:55 +0100 |
---|---|---|
committer | merge-script <fanquake@gmail.com> | 2024-09-02 15:14:55 +0100 |
commit | a74bdeea1b8e27b2335f0f7da78006e87ecfb235 (patch) | |
tree | e4f8e419cbfbbe97584798e5556a35baaaafbdb3 /ci/test_run_all.sh | |
parent | 99e35fb7b94ddedac176e000e5cce05e19125048 (diff) | |
parent | fa247e6e8c7fddf9e3461c3e2e6f5fade0fe64cf (diff) | |
download | bitcoin-master.tar.xz |
Merge bitcoin/bitcoin#30761: test: Avoid intermittent timeout in p2p_headers_sync_with_minchainwork.pyHEADmaster
fa247e6e8c7fddf9e3461c3e2e6f5fade0fe64cf test: Avoid intermittent timeout in p2p_headers_sync_with_minchainwork.py (MarcoFalke)
Pull request description:
Similar to https://github.com/bitcoin/bitcoin/pull/30705:
The goal of this test case is to check that the sync works at all, not to check any timeout.
On extremely slow hardware (for example qemu virtual hardware), downloading the 4110 BLOCKS_TO_MINE may take longer than the block download timeout.
Fix it by pinning the time using mocktime temporarily, and advance it immediately after the sync.
ACKs for top commit:
stratospher:
ACK fa247e6. Checked the timeout downloading block logs before/after using `setmocktime`.
tdb3:
ACK fa247e6e8c7fddf9e3461c3e2e6f5fade0fe64cf
Tree-SHA512: f61632a8d9e484f1b888aafbf87f7adf71b8692387bd77f603cdbc0de49f30d42e654741d46ae1ff8b9706a5559ee0faabdb192ed0db7449010b68bfcdbaa42d
Diffstat (limited to 'ci/test_run_all.sh')
0 files changed, 0 insertions, 0 deletions