Skip to content

Commit 25ce56e

Browse files
committed
test(apple-runner): pin the lost-reply branch in the connect-loop mutation test
1 parent 28e492f commit 25ce56e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/platform-apple/src/runner/__tests__/runner-lifecycle-dispatch-disclosure.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ test('a mutation whose connect-loop POST timed out after writing is not restarte
267267
assert.ok(error instanceof AppError);
268268
assert.equal(error.details?.runnerRestarted, undefined);
269269
assert.equal(error.details?.dispatched, 'unknown');
270+
assert.equal(error.details?.reason, RUNNER_REPLY_LOST_REASON);
271+
assert.equal(error.details?.recovery, 'status_probe_failed');
270272
return true;
271273
});
272274
assert.equal(mockEnsureRunnerSession.mock.calls.length, 1, 'the runner is not restarted');

0 commit comments

Comments
 (0)