mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chore(tests): Kill orphaned deno processes spawned during the tests (#10922)
This commit is contained in:
parent
fe11495920
commit
26a97a1f3b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue