We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9032a4 + 2e75ebb commit 370b9c1Copy full SHA for 370b9c1
test/functional/p2p_orphan_handling.py
@@ -59,7 +59,7 @@ def wrapper(self):
59
self.nodes[0].disconnect_p2ps()
60
self.nodes[0].bumpmocktime(LONG_TIME_SKIP)
61
# Check that mempool and orphanage have been cleared
62
- assert_equal(0, len(self.nodes[0].getorphantxs()))
+ self.wait_until(lambda: len(self.nodes[0].getorphantxs()) == 0)
63
assert_equal(0, len(self.nodes[0].getrawmempool()))
64
self.wallet.rescan_utxos(include_mempool=True)
65
return wrapper
0 commit comments