From 8dafa5632ac381078f87a1bf2b2fde46a4482ceb Mon Sep 17 00:00:00 2001 From: Maciej Wawryk Date: Wed, 10 Nov 2021 12:16:24 +0100 Subject: [PATCH] test/nvme: add timeout to bdevperf perform_tests By default, this timeout waiting for response is set to 60 seconds, we want to wait a bit longer than defined RUNTIME value. Signed-off-by: Maciej Wawryk Change-Id: I6f91da6c3996967271dda7c49320a2b8573bc49f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10169 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins Reviewed-by: Karol Latecki Reviewed-by: Konrad Sztyber Reviewed-by: Tomasz Zawadzki --- test/nvme/perf/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nvme/perf/common.sh b/test/nvme/perf/common.sh index 172fab9a72..58461abcaf 100755 --- a/test/nvme/perf/common.sh +++ b/test/nvme/perf/common.sh @@ -440,7 +440,7 @@ function run_bdevperf() { sleep 3 fi - PYTHONPATH=$PYTHONPATH:$rootdir/scripts $bdevperf_rpc -s "$rpc_socket" perform_tests + PYTHONPATH=$PYTHONPATH:$rootdir/scripts $bdevperf_rpc -s "$rpc_socket" -t $((RUNTIME + 10)) perform_tests # Using "-z" option causes bdevperf to NOT exit automatically after running the test, # so we need to stop it ourselves.