Skip to content

Commit 6168eb0

Browse files
committed
[test] Prevent intermittent issue
Since m_next_addr_send is on a Poisson distribution, increase the mocktime bump to ensure we don't experience flakiness in the tests. Closes #22243.
1 parent 1d8193e commit 6168eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/p2p_addr_relay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def setup_addr_msg(self, num):
7878
def send_addr_msg(self, source, msg, receivers):
7979
source.send_and_ping(msg)
8080
# pop m_next_addr_send timer
81-
self.mocktime += 5 * 60
81+
self.mocktime += 10 * 60
8282
self.nodes[0].setmocktime(self.mocktime)
8383
for peer in receivers:
8484
peer.sync_send_with_ping()

0 commit comments

Comments
 (0)