A few of our longer-running tests have some unnecessary waits and timeouts in them. Reduce or replace them to shorten test times:
- in
p2p_node_network_limitedreplace the expected sync timeout with header/ping barriers and a bounded negative check. At CI timeout factor 40, saves roughly 195 seconds per transport. - in
interface_ipc_miningcap three expected no-event waits at five seconds, saving roughly 105 seconds at factor 40 in CI. - in
WalletLoadingDescriptorshonor sanity mode’s single epoch, avoiding four unnecessary wallet unload/load cycles. - two wallet unit tests switch to
BasicTestingSetupavoiding construction of two unused 100-block chains.
The timeout changes alone save approximately eight minutes of accumulated test-worker time on CI jobs running both transports and IPC mining. Wall-clock savings depend on parallel scheduling, CPU etc.