From 26a97a1f3bff2ad1a2f1013efdaeb9be953e6b52 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 10 Jun 2021 10:38:03 -0400 Subject: chore(tests): Kill orphaned deno processes spawned during the tests (#10922) --- cli/tests/integration_tests.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tests/integration_tests.rs') diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 3d606b2a5..261ba30a9 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -825,6 +825,7 @@ mod integration { // the watcher process is still alive assert!(deno.try_wait().unwrap().is_none()); + deno.kill().unwrap(); drop(t); } @@ -976,6 +977,7 @@ mod integration { // the watcher process is still alive assert!(child.try_wait().unwrap().is_none()); + child.kill().unwrap(); drop(t); } -- cgit v1.2.3