From c60532d794e79be05ea37133b9da50e01b0a50e0 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Thu, 12 May 2022 15:06:58 +0200 Subject: [PATCH] test/nvmf: reduce number of iterations in connect_disconnect test Reduce the number of iterations by half. Currently this test often leads to time-outs in CI nightly testing because of how long it takes. Signed-off-by: Karol Latecki Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12658 (master) (cherry picked from commit 3bdb1a2f55c2cf812b8bbcc61cafa7cc44e3a4a5) Change-Id: I3ccf9663706e5f79da609d6b9ffa08bb89dc31dd Signed-off-by: Krzysztof Karas Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12674 Reviewed-by: Tomasz Zawadzki Reviewed-by: Konrad Sztyber Tested-by: SPDK CI Jenkins --- test/nvmf/target/connect_disconnect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nvmf/target/connect_disconnect.sh b/test/nvmf/target/connect_disconnect.sh index b74394123..931582ea9 100755 --- a/test/nvmf/target/connect_disconnect.sh +++ b/test/nvmf/target/connect_disconnect.sh @@ -23,7 +23,7 @@ $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 $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT if [ $RUN_NIGHTLY -eq 1 ]; then - num_iterations=200 + num_iterations=100 IO_QUEUES="-i 8" else num_iterations=10