test/nvmf: fix waitforblk usage in multiconnection
The subsystems created in this test only have one namespace, not 10; wait for just nvme0n1, nvme1n1, etc. instead of trying to wait for nvme0n1, nvme0n2, nvme0n3..., which will time out and fail. Change-Id: I2d131e9b92c9c89a5dc8fe0cf9138b980f810233 Signed-off-by: xuhuagen <huagenx.xu@intel.com> Reviewed-on: https://review.gerrithub.io/413056 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
d76cd984aa
commit
392f3ef589
@ -51,9 +51,7 @@ for i in `seq 1 $NVMF_SUBSYS`; do
|
||||
k=$[$i-1]
|
||||
nvme connect -t rdma -n "nqn.2016-06.io.spdk:cnode${i}" -a "$NVMF_FIRST_TARGET_IP" -s "$NVMF_PORT"
|
||||
|
||||
for j in `seq 1 10`; do
|
||||
waitforblk "nvme${k}n${j}"
|
||||
done
|
||||
waitforblk "nvme${k}n1"
|
||||
done
|
||||
|
||||
$testdir/../fio/nvmf_fio.py 262144 64 read 10
|
||||
|
Loading…
Reference in New Issue
Block a user