From 1ad685a59bd6cc39970f6623b51f54d1663b0739 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 3 Oct 2026 23:55:22 -0700 Subject: [PATCH] test(e2e): custody journey turns the respawn-storm breaker off (cells restart the gateway on purpose) (cherry picked from commit 93bbd366f3da731b75326a086e4cf62946d8fd22) (cherry picked from commit fd24b22b1b8877f41f472db3c850049228558839) --- tests/e2e/core/windows_update/test_pause_custody.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/e2e/core/windows_update/test_pause_custody.py b/tests/e2e/core/windows_update/test_pause_custody.py index c6bf274ed0..0a6a0a89e5 100644 --- a/tests/e2e/core/windows_update/test_pause_custody.py +++ b/tests/e2e/core/windows_update/test_pause_custody.py @@ -271,6 +271,11 @@ def journey(tmp_path_factory): try: install = machine.install() assert install.returncode == 0, fail_with(machine, f"install.ps1 exited {install.returncode}", install) + # The cells start and stop the gateway ~10 times in a few minutes on purpose; the respawn-storm + # breaker (5 starts / 120 s, then a 40 s sleep before boot) would otherwise outlast a resume's + # 30 s readiness window and make "not verified" a property of the harness, not the code. + off = machine.hermes("config", "set", "gateway.respawn_storm.max_starts", "0", label="storm-breaker-off") + assert off.returncode == 0, fail_with(machine, "harness: could not disable the respawn-storm breaker", off) with machine.gateway_phase(): for cell in (_claim_race, _publish_crash, _draining, _readiness): started = time.monotonic()