Skip to content

Commit

Permalink
increase timeout of profiler integration test to 30s (#4431)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored and juan-fernandez committed Jul 11, 2024
1 parent b3a1faa commit 4c502db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/profiler/profiler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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$/)
Expand Down Expand Up @@ -171,7 +171,7 @@ describe('profiler', () => {
let oomTestFile
let oomEnv
let oomExecArgv
const timeout = 5000
const timeout = 30000

before(async () => {
sandbox = await createSandbox()
Expand Down Expand Up @@ -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$/)
Expand Down

0 comments on commit 4c502db

Please sign in to comment.