summaryrefslogtreecommitdiff
path: root/core/replica.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/replica.zig')
-rw-r--r--core/replica.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/replica.zig b/core/replica.zig
index 9edc96d2..49787c76 100644
--- a/core/replica.zig
+++ b/core/replica.zig
@@ -182,6 +182,7 @@ pub const Authority = struct {
a.t.whole_digest = screens and std.c.getenv("PARDES_REPLICA_TRACE") == null;
// A digest at a unit's end, as the session's (Peers.unit).
a.t.no_digest = true;
+ opts.tape = &a.t;
const was = Stepping.begin(&a.t, null);
defer was.end();
a.core = try Pardes.init(gpa, opts);
@@ -6798,9 +6799,6 @@ test "a client joined from a dump lands a click on a rail's tick as the session
r.confirm(try a.take(m));
r.settle();
}
- // (The key may be mispredicted: a step's places are a frame's time's
- // worth, `tape.over`, the session's verdict, and its drawn caches let
- // it find more in that time than the client's speculation did.)
try agrees(a, r);
try std.testing.expectEqual(a.core.panes[owner].?.places.current, r.core().panes[owner].?.places.current);
}