diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-06-21 10:13:37 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-06-21 18:05:54 -0700 |
commit | 6168eb06b2044f00f18727b955b672fc91c60bd7 (patch) | |
tree | a28785c922518ac8cb8a935c0c830d47d15d55e6 /test/functional/p2p_addr_relay.py | |
parent | 1d8193e2a2950fd957654b601e85ab888899c394 (diff) |
[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.
Diffstat (limited to 'test/functional/p2p_addr_relay.py')
-rwxr-xr-x | test/functional/p2p_addr_relay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_addr_relay.py b/test/functional/p2p_addr_relay.py index 7c144af2e2..1a414959b9 100755 --- a/test/functional/p2p_addr_relay.py +++ b/test/functional/p2p_addr_relay.py @@ -78,7 +78,7 @@ class AddrTest(BitcoinTestFramework): def send_addr_msg(self, source, msg, receivers): source.send_and_ping(msg) # pop m_next_addr_send timer - self.mocktime += 5 * 60 + self.mocktime += 10 * 60 self.nodes[0].setmocktime(self.mocktime) for peer in receivers: peer.sync_send_with_ping() |