diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-23 10:04:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-23 12:13:41 -0300 |
| commit | 3ea7524ba026f03052e8861c9d4cb18eed8102cb (patch) | |
| tree | 3a7ea1b1712feffdff5d0f891cf2627b61b69a94 /test/daemon.py | |
| parent | e22d77e95959a5babdc3eb693d0da317c1fae1b5 (diff) | |
| download | pardes-3ea7524ba026f03052e8861c9d4cb18eed8102cb.tar.gz pardes-3ea7524ba026f03052e8861c9d4cb18eed8102cb.zip | |
test/daemon.py: the refused-upgrade row's new check reads the outcome's end, `it goes on as`, where it read its head: a message longer than its pane shows its end (each client's screen in the kept evidence: "...ssion (refused by PARDES_TEST_UPGRADE_REFUSE); it goes on as pardes 0.24 (e22d77e95959)"), so `Upgrade: the new build` never reached a client's bytes and the row failed at the check of `ulztktwm` (3 of 3 `--upgrade` from the installed build, its session's log saying the outcome on every view's pane: `msg 3`, `msg 4`, `msg 5`); a change of its own on top, since the coordinator's integrations already stand on `ulztktwm`
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/daemon.py')
| -rw-r--r-- | test/daemon.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/daemon.py b/test/daemon.py index b240b887..c96425c2 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -3561,9 +3561,10 @@ def upgrades(old, new): raise TimeoutError(f'the client joined again: not {[c.stem for _, c in owners if c not in joined]} ' f'{time.monotonic() - t0:.1f} s after the Upgrade, the session back at {back:.1f} s') from None assert again.poll() is None and again5.poll() is None - # The session's news: each client's own screen says it, not only - # the view whose input came last before the Upgrade's step. - wait_for("each client's own screen saying the Upgrade's outcome", lambda: all(b'Upgrade: the new build' in t.text() for t, _ in owners), timeout=15) + # The session's news: each client's own screen says it (a long + # message shows its end), not only the view whose input came + # last before the Upgrade's step. + wait_for("each client's own screen saying the Upgrade's outcome", lambda: all(b'it goes on as' in t.text() for t, _ in owners), timeout=15) for (t, check), pane, theirs in zip(owners, mine, reversed(mine)): in_own_view('its own view again', lambda: made_live(t, check), client, pane, theirs) for c, t in ((again, term4), (again5, term5)): |
