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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue