From 1bfe8f98a1bc940b6ceb9982adfe456f75d753b4 Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Tue, 9 Aug 2022 06:10:11 +0900 Subject: [PATCH] test/nvmf_timeout: Reduce TCP Ack timeout By the default value, timeout might be too long to detect connection failure by the end of the test. 512 milliseconds is too small to use in production but is not so small for this case. Fixes #2595 Signed-off-by: Shuhei Matsumoto Change-Id: I9f1248b2812eb7625aa943878b022f0a151d4cbb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13908 Community-CI: Broadcom CI Reviewed-by: Dong Yi Reviewed-by: Changpeng Liu Reviewed-by: Michal Berger Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins --- test/nvmf/host/timeout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nvmf/host/timeout.sh b/test/nvmf/host/timeout.sh index 1edc0de41..86e89009c 100755 --- a/test/nvmf/host/timeout.sh +++ b/test/nvmf/host/timeout.sh @@ -111,7 +111,7 @@ waitforlisten $bdevperf_pid $bdevperf_rpc_sock $bpf_sh $bdevperf_pid $rootdir/scripts/bpf/nvmf_timeout.bt &> $testdir/trace.txt & dtrace_pid=$! -$rpc_py -s $bdevperf_rpc_sock bdev_nvme_set_options -r -1 +$rpc_py -s $bdevperf_rpc_sock bdev_nvme_set_options -r -1 -e 9 # ctrlr_loss_timeout_sec is 10 reconnect_delay_sec is 2 $rpc_py -s $bdevperf_rpc_sock bdev_nvme_attach_controller -b NVMe0 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP \