Page MenuHomePhabricator

D12082.diff
No OneTemporary

D12082.diff

diff --git a/test/functional/abc_feature_proof_cleanup.py b/test/functional/abc_feature_proof_cleanup.py
--- a/test/functional/abc_feature_proof_cleanup.py
+++ b/test/functional/abc_feature_proof_cleanup.py
@@ -94,13 +94,13 @@
self.log.info("Check the proofs with attached nodes are not cleaned")
- # Expire the dangling proof timeout
- mocktime += 1
- node.setmocktime(mocktime)
-
# Run the cleanup, the proofs with no node are cleaned excepted our
# local proof
with node.assert_debug_log(["Proof dropped for dangling too long (no connected node): {}".format(uint256_hex(p.proofid)) for p in proofs[6:]]):
+ # Expire the dangling proof timeout
+ mocktime += 1
+ node.setmocktime(mocktime)
+
node.mockscheduler(AVALANCHE_CLEANUP_INTERVAL)
self.wait_until(lambda: set(get_proof_ids(node)) == set(
[proof.proofid for proof in proofs[:6]]), timeout=5)

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 26, 11:45 (16 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5573434
Default Alt Text
D12082.diff (988 B)

Event Timeline