Wait for busy guest readiness before measuring shutdown grace
ci / check (push) Failing after 11m45s

This commit is contained in:
Sausage
2026-11-02 00:10:34 +00:00
parent facaf1d9b1
commit c7d478754d
2 changed files with 12 additions and 8 deletions
+3
View File
@@ -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();
}