From cd982d508ba71deee3e5333836e42ccba09f36be Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 2 Nov 2022 11:55:23 -0700 Subject: [PATCH] Update flakey SIGINT test (#42370) x-ref: https://github.com/vercel/next.js/actions/runs/3380021994/jobs/5612393059 --- test/integration/cli/test/index.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/cli/test/index.test.js b/test/integration/cli/test/index.test.js index 4d228a31f56..03eb8615a8e 100644 --- a/test/integration/cli/test/index.test.js +++ b/test/integration/cli/test/index.test.js @@ -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, @@ -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,