From e27409ca231b5923de553a98742e6bc25fbf2fe8 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sun, 6 Sep 2026 10:16:00 -0700 Subject: [PATCH] test: distinguish live-relay client handoff from relay expiry --- tests/e2e/ssh-localhost.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/e2e/ssh-localhost.spec.ts b/tests/e2e/ssh-localhost.spec.ts index bd6c57e3b96..46bf5714aff 100644 --- a/tests/e2e/ssh-localhost.spec.ts +++ b/tests/e2e/ssh-localhost.spec.ts @@ -173,9 +173,8 @@ test.describe('Localhost SSH', () => { const { target: createdTarget, repoReadoptions } = await window.api.ssh.addTarget({ target: { ...target, - // Why: local-only E2E should not leave a long-lived relay process - // behind if the Electron app is killed between cleanup hooks. - relayGracePeriodSeconds: 1 + // Keep the relay alive between clients to isolate snapshot ownership from expiry. + relayGracePeriodSeconds: 120 } }) store.getState().recordSshRepoReadoptions(repoReadoptions)