Skip to content

Commit faa16ed

Browse files
author
MarcoFalke
committed
test: Add missing node.setmocktime(self.mocktime) to p2p_ibd_stalling.py
This was forgotten by myself in commit fa5b58e
1 parent efdb49a commit faa16ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/p2p_ibd_stalling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def run_test(self):
7474

7575
self.log.info("Check that a staller does not get disconnected if the 1024 block lookahead buffer is filled")
7676
self.mocktime = int(time.time()) + 1
77+
node.setmocktime(self.mocktime)
7778
for id in range(NUM_PEERS):
7879
peers.append(node.add_outbound_p2p_connection(P2PStaller(stall_block), p2p_idx=id, connection_type="outbound-full-relay"))
7980
peers[-1].block_store = block_dict

0 commit comments

Comments
 (0)