aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2021-06-21 10:13:37 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2021-06-21 18:05:54 -0700
commit6168eb06b2044f00f18727b955b672fc91c60bd7 (patch)
treea28785c922518ac8cb8a935c0c830d47d15d55e6 /test/functional
parent1d8193e2a2950fd957654b601e85ab888899c394 (diff)
downloadbitcoin-6168eb06b2044f00f18727b955b672fc91c60bd7.tar.xz
[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')
-rwxr-xr-xtest/functional/p2p_addr_relay.py2
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()