From c2ddcb39ac6f80e41aaee0bbbe311cd3ef9d6639 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 30 Oct 2026 22:33:55 -0300 Subject: test/soak.py: a quiet point's check is the second new line after its key, as daemon.py's made_live: the first may answer a check the client took before it sent the key, and its /layout read another client's view, still the live one (the "panes left its view with no rejoin" breaches, at 207 ms: a line 104 and 133 ms after the key, where one asked after it comes no sooner than ~500 ms) Co-Authored-By: Claude Opus 5.5 --- test/soak.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/soak.py b/test/soak.py index 400b3dc3..01e29db4 100644 --- a/test/soak.py +++ b/test/soak.py @@ -1114,7 +1114,10 @@ def quiet_point(run, live): t = now() fresh = False while now() - t < 8 + 2 * c.rtt / 1000: - if len(c.check_lines()) > before: + # the second new line, as daemon.py's made_live: the first may answer a + # check the client took before it sent the key (one check in flight), + # read while another client's view was still the live one + if len(c.check_lines()) > before + 1: fresh = True break time.sleep(0.1) -- cgit v1.3