fix(test): give cert-revocation more cert life than discovery needs #158
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/yip!158
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/cert-revocation-discovery-budget"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes half of #157 — the
hardening.41cert-revocation flake.CERT_A_SECSwas 60. Step 8's retry loop stops 5s before expiry so the "still valid" invariant stays honest, leaving 55s of usable convergence window. Butrun-netns-discovery.sh:287documents gossip warm-up as needing "up to a 60s budget".The test allocated less time than its own sibling says the thing it waits for can take. That is why it flaked rather than failed outright: a green run was simply one that converged early, and runner load only decided which side of the line a run landed on. Commit
3cf588ffailed this test on run 305 and passed it on run 306.150s is ~2.5x the documented worst case.
The assertion is unchanged. The cert still expires mid-test — that is the entire point of the revocation check, and steps 9-11 (drop detection, no re-admission) are untouched. Every downstream deadline derives from
CERT_A_SECS, so nothing else needed editing.Cost: step 9's wait-for-expiry grows by the same 90s, on a job that runs ~31 minutes and has no
timeout-minutesset.Not addressed here: the
arq_recovers_bulk_lossflake, also in #157. That one needs a decision (is the 98% floor mis-calibrated, or is recovery genuinely inconsistent?) rather than a number change, so it does not belong in this PR.