test(e2e): pass testInfo to startDockerSshRelayTarget in the freeze repro

The spec called startDockerSshRelayTarget() with no argument while the
helper signature is (testInfo: TestInfo) and dereferences
testInfo.workerIndex, so it threw before any Orca code ran and took the
Docker SSH lane red on every PR.

Fixes #16764
This commit is contained in:
Neil
2026-09-02 14:46:35 -07:00
parent 02a417c04b
commit d04c66ea34
@@ -55,11 +55,11 @@ test.describe('R2 Docker SSH bulk-open freeze', () => {
test('bulk-open many flooding SSH terminals and measure renderer lag @freeze-repro', async ({
orcaPage,
registerPostElectronShutdownCleanup
}) => {
}, testInfo) => {
test.setTimeout(420_000)
let target: DockerSshRelayTarget | null = null
try {
target = startDockerSshRelayTarget()
target = startDockerSshRelayTarget(testInfo)
registerPostElectronShutdownCleanup(async () => {
if (target) {
cleanupDockerSshRelayTarget(target)