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 <maciejx.wawryk@intel.com> Change-Id: I6f91da6c3996967271dda7c49320a2b8573bc49f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10169 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
bc43d3af77
commit
8dafa5632a
@ -440,7 +440,7 @@ function run_bdevperf() {
|
|||||||
sleep 3
|
sleep 3
|
||||||
fi
|
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,
|
# Using "-z" option causes bdevperf to NOT exit automatically after running the test,
|
||||||
# so we need to stop it ourselves.
|
# so we need to stop it ourselves.
|
||||||
|
Loading…
Reference in New Issue
Block a user