Commit a0283cf
committed
test: fix flaky LLMQ signing recovery and PoSe ban assertions
- feature_llmq_signing.py: bump_mocktime(2) was shorter than the
daemon's 5-second signing session cleanup cadence (CLEANUP_INTERVAL
in signing_shares.cpp), so recovery responsibility never rotated to
the next member. Use bump_mocktime(10) to guarantee at least one full
cleanup cycle, and extend wait_for_sigs timeout from 2s to 15s for
propagation margin.
- feature_llmq_simplepose.py: replace bare `assert check_banned()`
with `wait_until(check_banned, timeout=10)`. After mine_quorum()
returns, PoSe ban state may not be visible via RPC immediately under
CPU contention.1 parent 39851c3 commit a0283cf
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | | - | |
201 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments