test: advance mocktime during quorum list waits#7311
test: advance mocktime during quorum list waits#7311thepastaclaw wants to merge 1 commit intodashpay:developfrom
Conversation
|
@coderabbitai review |
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
|
🔍 Review in progress — actively reviewing now (commit 7cf4429) |
✅ Actions performedReview triggered.
|
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe PR updates two test framework helper methods in Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
thepastaclaw
left a comment
There was a problem hiding this comment.
Code Review
I verified the checked-out head 7cf4429a3d516cafc4a16a92c9a925a3540f02ac against the review artifacts and the touched source in test/functional/test_framework/test_framework.py. The patch is narrowly scoped to quorum-list polling in the functional-test framework, and its new bump_mocktime(1, nodes=nodes) behavior matches existing mocktime-driven wait patterns elsewhere in the same helper class. I did not confirm any correctness, safety, or test-coverage issue in this change.
Reviewed commit: 7cf4429
Summary
Motivation
feature_asset_locks.pyintermittently times out after mining anllmq_test_platformquorum. The final commitment is mined, but the new quorumdoes not always appear in
quorum listbefore the helper's short polling loopexpires.
In mocktime-driven functional tests, quorum-list publication can require
scheduler/mocktime progress after the final commitment block is mined.
Fixes #7310.
Changes
wait_for_quorum_list().wait_for_quorums_list()so rotated-quorum flowskeep the same synchronization semantics.
Validation
git diff --checkpython3 test/functional/feature_llmq_rotation.py --configfile=/Users/claw/Projects/dash/test/config.inipython3 test/functional/feature_asset_locks.py --configfile=/Users/claw/Projects/dash/test/config.ini