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: {:?}",
status.actual_state
);
backend
.stop(&handle, Duration::from_secs(2))
.await
.expect("stop vm");
// The smoke path may use an empty qcow2, so there is no guest userspace to
// honor ACPI powerdown. Use force-kill here to validate QEMU launch
// without depending on guest shutdown behavior.
backend.kill(&handle).await.expect("kill vm");
}
}