Commit 258c5ea4 authored by Jim Harris's avatar Jim Harris Committed by Daniel Verkamp
Browse files

test/iscsi: add delay between pci rescan and setup.sh



It seems that the pci rescan at the end of the fio.sh
script needs some time to process before we run the setup.sh
script immediately after.  We have multiple instances where
the setup.sh is crashing.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I2fa7d8fdb72b7433f6e43af6db3e090223b8bd38

Reviewed-on: https://review.gerrithub.io/386119


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 9b3ae064
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@ iscsicleanup
rm -f $testdir/iscsi.conf
killprocess $pid
echo 1 > /sys/bus/pci/rescan
sleep 2
$rootdir/scripts/setup.sh

timing_exit fio