Commit a2bf3cde authored by Seth Howell's avatar Seth Howell Committed by Jim Harris
Browse files

test/nvmf: add connect_disconnect test back to nightly



After the last two patches, I was able to verify that this doesn't fail
with Soft-RoCE on kernel 4.19.13

Also while here, make the output less verbose.

Change-Id: I051e62088db2995e55e07201b91e1dd286ecd22e
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446285


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent bb3e4413
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -43,18 +43,20 @@ $rpc_py nvmf_subsystem_create nqn.2016-06.io.spdk:cnode1 -a -s SPDK0000000000000
$rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 $bdev
$rpc_py nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode1 -t rdma -a $NVMF_FIRST_TARGET_IP -s 4420

if [ $RUN_NIGHTLY_FAILING -eq 1 ]; then
if [ $RUN_NIGHTLY -eq 1 ]; then
	num_iterations=200
else
	num_iterations=10
fi

set +x
for i in $(seq 1 $num_iterations); do
	nvme connect -t rdma -n "nqn.2016-06.io.spdk:cnode1" -a "$NVMF_FIRST_TARGET_IP" -s "4420"
	waitforblk "nvme0n1"
	nvme disconnect -n "nqn.2016-06.io.spdk:cnode1"
	waitforblk_disconnect "nvme0n1"
done
set -x

trap - SIGINT SIGTERM EXIT