diff options
Diffstat (limited to 'tools/wpt/runner.ts')
-rw-r--r-- | tools/wpt/runner.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 28b2db0ee..4949c6269 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -25,6 +25,9 @@ export async function runWithTestUtil<T>( } const passedTime = performance.now() - start; if (passedTime > 15000) { + proc.kill(2); + await proc.status(); + proc.close(); throw new Error("Timed out while trying to start wpt test util."); } } |