Use fixed event times in terminal recovery regression

This commit is contained in:
Brennan Benson
2026-11-13 04:29:32 -08:00
parent d0231cf0e3
commit a383557a5d
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -491,7 +491,6 @@
23 test-no-wall-clock:src/main/runtime/terminal/output/terminal-query-responder.test.ts
3 test-no-wall-clock:src/main/runtime/terminal/query/orca-runtime-codex-idle-title-chat-address.test.ts
1 test-no-wall-clock:src/main/runtime/terminal/recovery/terminal-pane-recovery-liveness-gate.test.ts
16 test-no-wall-clock:src/main/runtime/terminal/wait/tui-idle-hook-lane-runtime.test.ts
1 test-no-wall-clock:src/main/runtime/workspaces/process-listing/runtime-worktree-structured-agent-rows-liveness.test.ts
1 test-no-wall-clock:src/main/runtime/workspaces/removal/owned-session-teardown-policy.test.ts
6 test-no-wall-clock:src/main/skills/install/skill-bundle-process-termination.integration.test.ts
@@ -202,7 +202,7 @@ describe('main-side replay guard', () => {
markHiddenRendererPty('pty-recovered')
runtime.seedHeadlessTerminal('pty-recovered', 'old screen')
await settle(runtime, 'pty-recovered')
runtime.onPtyData('pty-recovered', QUERY_BATCH, Date.now())
runtime.onPtyData('pty-recovered', QUERY_BATCH, 1_000)
runtime.replaceHeadlessTerminalFromRendererSnapshotForRecovery(
'pty-recovered',
{ data: `restored prompt${QUERY_BATCH}`, cols: 80, rows: 24, seq: 0 },
@@ -210,7 +210,7 @@ describe('main-side replay guard', () => {
)
await settle(runtime, 'pty-recovered')
expect(replies).toEqual([])
runtime.onPtyData('pty-recovered', QUERY_BATCH, Date.now())
runtime.onPtyData('pty-recovered', QUERY_BATCH, 2_000)
await settle(runtime, 'pty-recovered')
expect(replies.map((reply) => reply.data)).toEqual([
'\x1b[?1;2c',