Skip to content

Commit f9cdbda

Browse files
Update p2p_ibd_stalling.py
1 parent 9e19f98 commit f9cdbda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/p2p_ibd_stalling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ 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 = 150003 if not self.options.v2transport else 146934
86-
# Verify with: awk '/received: block/ {gsub("\\(", ""); sum+=$13} END{print sum}' log.txt
85+
bytes_recv = 174555 if not self.options.v2transport else 171486
8786
def test() -> bool:
8887
self.log.info('self.total_bytes_recv_for_blocks=' + str(self.total_bytes_recv_for_blocks()))
8988
return self.total_bytes_recv_for_blocks() == bytes_recv

0 commit comments

Comments
 (0)