Skip to content

Commit

Permalink
Update flakey SIGINT test (#42370)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Nov 2, 2022
1 parent aef04a9 commit cd982d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/cli/test/index.test.js
Expand Up @@ -292,7 +292,7 @@ describe('CLI Usage', () => {

test('should exit when SIGINT is signalled', async () => {
const killSigint = (instance) =>
setTimeout(() => instance.kill('SIGINT'), 1000)
setTimeout(() => instance.kill('SIGINT'), 2000)
const port = await findPort()
const { code, signal } = await runNextCommand(['dev', dir, '-p', port], {
ignoreFail: true,
Expand All @@ -307,7 +307,7 @@ describe('CLI Usage', () => {
})
test('should exit when SIGTERM is signalled', async () => {
const killSigterm = (instance) =>
setTimeout(() => instance.kill('SIGTERM'), 1000)
setTimeout(() => instance.kill('SIGTERM'), 2000)
const port = await findPort()
const { code, signal } = await runNextCommand(['dev', dir, '-p', port], {
ignoreFail: true,
Expand Down

0 comments on commit cd982d5

Please sign in to comment.