aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-01 14:14:24 +0100
committertv <tv@krebsco.de>2026-11-01 14:14:24 +0100
commitbb2fdddc91bf9c1e8e11dc5408b0dddb95300a49 (patch)
tree6c6f005b6add30add764feb7d5c33a2347780ec2
parent5262d3d43216c3e8e9392307bc4856722170aa50 (diff)
fixup: sim clock off under identity
-rw-r--r--src/simtest/remakes.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simtest/remakes.rs b/src/simtest/remakes.rs
index 1f8356a..a063e2a 100644
--- a/src/simtest/remakes.rs
+++ b/src/simtest/remakes.rs
@@ -454,7 +454,8 @@ async fn both_sides_of_an_old_partition_commit_and_converge() {
async fn abort_from_a_node_with_its_clock_off_is_refused() {
use crate::remake::Host;
- let sim = Sim::new(39);
+ // Under the identity layer: its paths layer compares the peers' clocks (PONGs).
+ let sim = Sim::with_identity(39);
let (a, b, c) = three(&sim).await;
// Far beyond the grace period (1 s) and --clock-skew-warn (2 s), and the settle
// period below: by c's clock, the remake is expired once proposed.