Skip to content

Commit e01a491

Browse files
Update p2p_ibd_stalling.py
1 parent e8977f0 commit e01a491

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/p2p_ibd_stalling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def run_test(self):
8282

8383
# Need to wait until 1023 blocks are received - the magic total bytes number is a workaround in lack of an rpc
8484
# returning the number of downloaded (but not connected) blocks.
85-
bytes_recv = 172761 if not self.options.v2transport else 169692
85+
bytes_recv = 150003 if not self.options.v2transport else 146934
86+
# Verify with: awk '/received: block/ {gsub("\\(", ""); sum+=$13} END{print sum}' log.txt
8687
self.wait_until(lambda: self.total_bytes_recv_for_blocks() == bytes_recv)
8788

8889
self.all_sync_send_with_ping(peers)

0 commit comments

Comments
 (0)