Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase timeout of profiler integration test to 30s #4431

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading