From c132c8690bc92fa306b2082992f3b7108e5a4c9e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 6 Sep 2021 10:05:33 -0400 Subject: BREAKING(unstable): Remove Deno.Signals enum, Deno.signals.* (#11909) --- tools/wpt/runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 27b94da1f..4f4389fd3 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -31,7 +31,7 @@ export async function runWithTestUtil( } const passedTime = performance.now() - start; if (passedTime > 15000) { - proc.kill(2); + proc.kill("SIGINT"); await proc.status(); proc.close(); throw new Error("Timed out while trying to start wpt test util."); @@ -44,7 +44,7 @@ export async function runWithTestUtil( return await f(); } finally { if (verbose) console.log("Killing wpt test util."); - proc.kill(2); + proc.kill("SIGINT"); await proc.status(); proc.close(); } -- cgit v1.2.3