From 3db4c0f7b4cc021aa917f445dd58c68c264a412a Mon Sep 17 00:00:00 2001 From: Keith Adler Date: Wed, 6 May 2026 13:56:48 -0500 Subject: [PATCH] tests: remove redundant hotplug sleep The snapshot/restore hotplug path already waits for the exact device-removed event through the event monitor. Drop the fixed sleep before that poll so the test advances as soon as the event arrives. Signed-off-by: Keith Adler --- cloud-hypervisor/tests/integration.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/cloud-hypervisor/tests/integration.rs b/cloud-hypervisor/tests/integration.rs index 0ae8120ca..f8769fbd7 100644 --- a/cloud-hypervisor/tests/integration.rs +++ b/cloud-hypervisor/tests/integration.rs @@ -8013,7 +8013,6 @@ mod snapshot_restore_common { "remove-device", Some(net_id), )); - thread::sleep(std::time::Duration::new(10, 0)); let latest_events = [&MetaEvent { event: "device-removed".to_string(), device_id: Some(net_id.to_string()),