mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
Stabilize worker shutdown process group test
This commit is contained in:
parent
9361d49fa6
commit
43ba57ecda
1 changed files with 1 additions and 1 deletions
|
|
@ -8152,13 +8152,13 @@ level = "debug"
|
|||
.await
|
||||
.unwrap();
|
||||
assert_eq!(terminated, 1);
|
||||
assert!(!fabro_proc::process_group_alive(worker_pid));
|
||||
|
||||
let exit_status = tokio::time::timeout(Duration::from_secs(2), child.wait())
|
||||
.await
|
||||
.expect("worker should exit after shutdown")
|
||||
.expect("wait should succeed");
|
||||
assert!(!exit_status.success());
|
||||
assert!(!fabro_proc::process_group_alive(worker_pid));
|
||||
|
||||
let run_state = state
|
||||
.store
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue