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:
Rob Bradford 2025-10-21 18:40:27 +01:00 committed by Bo Chen
parent 1b4b4fb0c2
commit 99d08a2b7f

View file

@ -6085,7 +6085,7 @@ mod common_parallel {
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(|| {
// Add network