From eca49c11b3949a4aa878a1ab43663ffe684897f1 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 17 Oct 2017 16:36:42 -0700 Subject: [PATCH] test/iscsi/lvol: remove unnecessary sleep The construct_lvol_bdev RPC should not return until the bdev is ready to be used, so sleeping before construct_target_node should not be necessary. Change-Id: I5f91a76f996132697db36b8857a56471d651a5cd Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/382893 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Karol Latecki --- test/iscsi_tgt/lvol/iscsi_lvol.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/test/iscsi_tgt/lvol/iscsi_lvol.sh b/test/iscsi_tgt/lvol/iscsi_lvol.sh index 15a6dd34a..e2c7fa1ea 100755 --- a/test/iscsi_tgt/lvol/iscsi_lvol.sh +++ b/test/iscsi_tgt/lvol/iscsi_lvol.sh @@ -46,7 +46,6 @@ for i in `seq 0 9`; do lb_guid=$($rpc_py construct_lvol_bdev $ls_guid 10) LUNs+="$lb_guid:$j " done - sleep 0.1 $rpc_py construct_target_node Target$i Target${i}_alias "$LUNs" "1:$INITIATOR_TAG" 256 1 0 0 0 done sleep 1