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
commit2f4f647e3d51e20bd20ab6e0c4a97c8feb428a22 (patch)
tree8cf739f22cd7d692c681bc783ef33ad88f359912
parent10a8040059d32b8d3486cf5fe34a67a6d207c4b5 (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.