From 258c5ea47af0b0ee2124ae0534124cb2acc501aa Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 7 Nov 2017 09:15:37 -0700 Subject: [PATCH] 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: Jim Harris Change-Id: I2fa7d8fdb72b7433f6e43af6db3e090223b8bd38 Reviewed-on: https://review.gerrithub.io/386119 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp --- test/iscsi_tgt/fio/fio.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/iscsi_tgt/fio/fio.sh b/test/iscsi_tgt/fio/fio.sh index 599b03d5c..98e84eac7 100755 --- a/test/iscsi_tgt/fio/fio.sh +++ b/test/iscsi_tgt/fio/fio.sh @@ -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