From d0aebfb922b9751ad583a8a0377d412e280954d5 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 18 Nov 2020 10:32:36 +0000 Subject: [PATCH] tests: Increase time waited for hotplugged memory to appear There have been a lot of flakes around tests such as test_virtio_fs_hotplug_dax_on_w_vhost_user_fs_daemon() or test_virtio_fs_hotplug_dax_on() which all try and hotplug memory. Signed-off-by: Rob Bradford --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index ebce8b39a..763093698 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1798,7 +1798,7 @@ mod tests { let desired_ram = 1024 << 20; resize_command(&api_socket, None, Some(desired_ram), None); - thread::sleep(std::time::Duration::new(10, 0)); + thread::sleep(std::time::Duration::new(30, 0)); assert!(guest.get_total_memory().unwrap_or_default() > 960_000); // After the resize, check again that file1 exists and its