mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 00:03:15 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user