Skip to content

cluster tests: the liar and wrong-peer bring-up tests run on the lockstep clock - #4193

Merged
ashhart merged 4 commits into
mainfrom
lead/cluster-tests-lockstep
Nov 20, 2026
Merged

ashhart merged 4 commits into
mainfrom
lead/cluster-tests-lockstep

Conversation

@ashhart

@ashhart ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

The bring-up tests that still ran several ranks on the real clock (the wrong-peer test and the three-rank liar test) can see the wrong error or the wrong loss on a busy runner: a rank descheduled past dead_ns is reported dead. 50c83f890 moved the settle and dead-peer tests onto the pair's lockstep clock; this does the same for these two, and the liar test marks its inline rank's clock share done when it leaves. Test-only; no product code changes.

Checked: the cluster membership host tests pass 50 of 50 runs in a row with six CPU-bound workers on a six-CPU box. A hosted runner failed bringup_test on 20 Nov (#3659's train).

  • Synthena

…step clock too

bringup_test's remaining real-clock multi-rank tests carry the same flake
class 50c83f8 removed from the settle and dead-peer tests: a rank
descheduled past dead_ns is reported dead, so the wrong-peer and liar
tests can see the wrong error or the wrong loss on a busy runner. Put
both on the pair's lockstep clock; the three-rank liar test drives its
inline rank's clock share done itself once it leaves.
@ashhart
ashhart force-pushed the lead/cluster-tests-lockstep branch from bb69110 to 4ca1ee4 Compare November 20, 2026 19:42
@ashhart
ashhart merged commit 8abdfc9 into main Nov 20, 2026
10 of 11 checks passed
@ashhart
ashhart deleted the lead/cluster-tests-lockstep branch November 20, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant