From 9480b7cdfdba789137e8d32489704baa976782af Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Wed, 6 Nov 2024 13:57:37 +0100 Subject: [PATCH] only sigint test runner --- tests/playwright-test/web-server.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/web-server.spec.ts b/tests/playwright-test/web-server.spec.ts index 8fed59eb0c..71ae366b84 100644 --- a/tests/playwright-test/web-server.spec.ts +++ b/tests/playwright-test/web-server.spec.ts @@ -773,7 +773,7 @@ test('should gracefully kill server', async ({ interactWithTestRunner }, { worke }, { workers: 1 }); await testProcess.waitForOutput('webserver started'); - process.kill(-testProcess.process.pid!, 'SIGINT'); + process.kill(testProcess.process.pid!, 'SIGINT'); await testProcess.exited; expect(testProcess.outputLines({ prefix: '[WebServer] ' })).toEqual(['webserver received SIGINT but stubbornly refuses to wind down']);