mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Replace fixed wait for VM to boot in test_net_hotplug
Use the notification mechanism now that the VM has it's primary network attached. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
@@ -6085,7 +6085,7 @@ mod common_parallel {
|
|||||||
|
|
||||||
let mut child = cmd.spawn().unwrap();
|
let mut child = cmd.spawn().unwrap();
|
||||||
|
|
||||||
thread::sleep(std::time::Duration::new(20, 0));
|
guest.wait_vm_boot(None).unwrap();
|
||||||
|
|
||||||
let r = std::panic::catch_unwind(|| {
|
let r = std::panic::catch_unwind(|| {
|
||||||
// Add network
|
// Add network
|
||||||
|
|||||||
Reference in New Issue
Block a user