Commit 8422f886 authored by Seth Howell's avatar Seth Howell Committed by Jim Harris
Browse files

test/nvme: increase delay between plugging devices



When the hotplug test was run in a qemu virtual machine, it consistently
failed to unplug the devices after insertion. Increasing the delay here
to four seconds resulted in proper deletion of the devices and a passing
test. (replicated three times)

Change-Id: I0283c8440568edd8dd8ca8945e691a29b775aab5
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/371401


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent ecc436fc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -117,11 +117,11 @@ timing_enter hotplug_test
ssh_vm "examples/nvme/hotplug/hotplug -i 0 -t 25 -n 4 -r 8" &
example_pid=$!

sleep 2
sleep 4
remove_devices
sleep 2
sleep 4
insert_devices
sleep 2
sleep 4
remove_devices
devices_delete