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: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446285 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
bb3e441388
commit
a2bf3cded3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user