Skip to content

Commit 370b9c1

Browse files
committed
Merge bitcoin/bitcoin#31675: [test] fix p2p_orphan_handling.py empty orphanage check
2e75ebb [test] fix p2p_orphan_handling.py empty orphanage check (glozow) Pull request description: Fix CI: https://cirrus-ci.com/task/4584274617171968?logs=ci#L2784 ACKs for top commit: maflcko: lgtm ACK 2e75ebb instagibbs: ACK 2e75ebb theStack: ACK 2e75ebb Tree-SHA512: 7c5c4d1eb816368b2fdd8e090769ff586f69a9800a99ab99d42beda96c933b5c449dfece91b659d48e4c2d7dcaae0dde6441a294d33c991db3d85c15df0123b6
2 parents f9032a4 + 2e75ebb commit 370b9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/p2p_orphan_handling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def wrapper(self):
5959
self.nodes[0].disconnect_p2ps()
6060
self.nodes[0].bumpmocktime(LONG_TIME_SKIP)
6161
# Check that mempool and orphanage have been cleared
62-
assert_equal(0, len(self.nodes[0].getorphantxs()))
62+
self.wait_until(lambda: len(self.nodes[0].getorphantxs()) == 0)
6363
assert_equal(0, len(self.nodes[0].getrawmempool()))
6464
self.wallet.rescan_utxos(include_mempool=True)
6565
return wrapper

0 commit comments

Comments
 (0)