Wait for busy guest readiness before measuring shutdown grace
ci / check (push) Failing after 11m45s
ci / check (push) Failing after 11m45s
This commit is contained in:
@@ -90,6 +90,9 @@ fn wait_eof(lines: &mut Lines) {
|
||||
std::fs::write("/state/stopped", "yes").unwrap();
|
||||
}
|
||||
fn busy() -> Value {
|
||||
send(json!({"jsonrpc":"2.0", "method":"core.notify", "params":{
|
||||
"name":"busy-ready", "params":{}
|
||||
}}));
|
||||
loop {
|
||||
std::hint::spin_loop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user