Skip to content

Commit dcde22a

Browse files
committed
increase e2e test timeout
1 parent 2cf5aac commit dcde22a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/commands/scan/cmd-scan-reach.e2e.test.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,10 @@ function logCommandOutput(code: number, stdout: string, stderr: string): void {
233233

234234
describe('socket scan reach (E2E tests)', async () => {
235235
const { binCliPath } = constants
236+
// Standard timeout for most tests.
236237
const testTimeout = 120_000
238+
// Longer timeout for full workspace scans which are more resource-intensive.
239+
const longTestTimeout = 300_000
237240
const apiToken = process.env['SOCKET_CLI_API_TOKEN']
238241
const orgSlug = process.env['SOCKET_ORG'] ?? 'SocketDev'
239242

@@ -384,7 +387,7 @@ describe('socket scan reach (E2E tests)', async () => {
384387
await tempFixture.cleanup()
385388
}
386389
},
387-
{ timeout: testTimeout },
390+
{ timeout: longTestTimeout },
388391
)
389392

390393
cmdit(

0 commit comments

Comments
 (0)