From faa16ed4b9edd126b5a2b0c13994f18273096efc Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 27 Nov 2024 14:32:25 +0100 Subject: [PATCH] test: Add missing node.setmocktime(self.mocktime) to p2p_ibd_stalling.py This was forgotten by myself in commit fa5b58ea01fac1adb6336b8b6b5217193295c695 --- test/functional/p2p_ibd_stalling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/p2p_ibd_stalling.py b/test/functional/p2p_ibd_stalling.py index fa078739293..4348bf7ee99 100755 --- a/test/functional/p2p_ibd_stalling.py +++ b/test/functional/p2p_ibd_stalling.py @@ -74,6 +74,7 @@ class P2PIBDStallingTest(BitcoinTestFramework): self.log.info("Check that a staller does not get disconnected if the 1024 block lookahead buffer is filled") self.mocktime = int(time.time()) + 1 + node.setmocktime(self.mocktime) for id in range(NUM_PEERS): peers.append(node.add_outbound_p2p_connection(P2PStaller(stall_block), p2p_idx=id, connection_type="outbound-full-relay")) peers[-1].block_store = block_dict