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 <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/382893
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
Daniel Verkamp 2017-10-17 16:36:42 -07:00 committed by Jim Harris
parent eba48d825c
commit eca49c11b3

View File

@ -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