mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
tests: Increase timeout after vfio-user device hotplug
As reported by the periodic CI runs, it may take more time for the NVMe device to present in the guest after being hotplugged as a VFIO user device on `aarch64` (especially under high load). Let's increase the timeout after device hotplug from `1s` to `10s` to increase the test stability. Fixes: #3495 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
3679be3721
commit
cec035c6e0
@ -5810,7 +5810,7 @@ mod parallel {
|
||||
assert!(String::from_utf8_lossy(&cmd_output)
|
||||
.contains("{\"id\":\"vfio_user0\",\"bdf\":\"0000:00:06.0\"}"));
|
||||
|
||||
thread::sleep(std::time::Duration::new(1, 0));
|
||||
thread::sleep(std::time::Duration::new(10, 0));
|
||||
|
||||
// Check both if /dev/nvme exists and if the block size is 128M.
|
||||
assert_eq!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user