summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-06-10 10:38:03 -0400
committerGitHub <noreply@github.com>2021-06-10 10:38:03 -0400
commit26a97a1f3bff2ad1a2f1013efdaeb9be953e6b52 (patch)
tree45237f9c2291d8a659b58dfc4444ac8e96b436ef /cli/tests/integration_tests.rs
parentfe1149592058c6206a037d962a6d071d5aa1d7c9 (diff)
chore(tests): Kill orphaned deno processes spawned during the tests (#10922)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs2
1 files changed, 2 insertions, 0 deletions
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);
}