fix plasmavmc kvm smoke shutdown test

This commit is contained in:
centra 2026-04-02 13:43:13 +09:00
parent 105dccfaa9
commit 311bcdf2c0
Signed by: centra
GPG key ID: 0C09689D20B25ACA

View file

@ -1416,9 +1416,9 @@ mod tests {
"unexpected state: {:?}", "unexpected state: {:?}",
status.actual_state status.actual_state
); );
backend // The smoke path may use an empty qcow2, so there is no guest userspace to
.stop(&handle, Duration::from_secs(2)) // honor ACPI powerdown. Use force-kill here to validate QEMU launch
.await // without depending on guest shutdown behavior.
.expect("stop vm"); backend.kill(&handle).await.expect("kill vm");
} }
} }