From a2bf3cded37b7cc7e402eae80da90891f921b56d Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Tue, 26 Feb 2019 08:13:07 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446285 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto --- test/nvmf/connect_disconnect/connect_disconnect.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/nvmf/connect_disconnect/connect_disconnect.sh b/test/nvmf/connect_disconnect/connect_disconnect.sh index 6f447be42..c619d9160 100755 --- a/test/nvmf/connect_disconnect/connect_disconnect.sh +++ b/test/nvmf/connect_disconnect/connect_disconnect.sh @@ -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