mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
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 <robert.bradford@intel.com>
This commit is contained in:
parent
f913dd6150
commit
d0aebfb922
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user