From 81bdc0fa4e1b6052b6bc2ce40d10266bb14064cc Mon Sep 17 00:00:00 2001 From: rochdev Date: Sat, 22 Jun 2024 16:49:26 -0400 Subject: [PATCH] increase timeout of profiler integration test to 30s --- 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$/)