mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
[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.
This commit is contained in:
parent
1d8193e2a2
commit
6168eb06b2
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue