From f32813973e40e625baf6d5d382c6e6cab2154fd8 Mon Sep 17 00:00:00 2001 From: Roch Devost Date: Mon, 24 Jun 2024 11:28:14 -0400 Subject: [PATCH] increase timeout of profiler integration test to 30s (#4431) --- integration-tests/profiler/profiler.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/profiler/profiler.spec.js b/integration-tests/profiler/profiler.spec.js index 0803e2e9ae4..3b26448a2b1 100644 --- a/integration-tests/profiler/profiler.spec.js +++ b/integration-tests/profiler/profiler.spec.js @@ -110,7 +110,7 @@ async function gatherNetworkTimelineEvents (cwd, scriptFilePath, eventType, args } }) - await processExitPromise(proc, 5000) + await processExitPromise(proc, 30000) const procEnd = BigInt(Date.now() * 1000000) const { profile, encoded } = await getLatestProfile(cwd, /^events_.+\.pprof$/) @@ -171,7 +171,7 @@ describe('profiler', () => { let oomTestFile let oomEnv let oomExecArgv - const timeout = 5000 + const timeout = 30000 before(async () => { sandbox = await createSandbox() @@ -201,7 +201,7 @@ describe('profiler', () => { } }) - await processExitPromise(proc, 5000) + await processExitPromise(proc, 30000) const procEnd = BigInt(Date.now() * 1000000) const { profile, encoded } = await getLatestProfile(cwd, /^wall_.+\.pprof$/)