Loading
test/nvmf: adjust sleep time for timeout test
Test expected ctrlr to be deleted after 7s but it is on the edge. With ctrlr loss timeout set to 5s and reconnect delay to 2s it takes 6s to initiate delete of the controller. Yet another extra 1s comes from the bdev_nvme_retry_ios poller which can be registered just before 6s (ctrlr loss timeout expired). Simplest fix for intermittent failure is to extend this time. Comment above sleep already states 2s (so it is 6s due to SPDK algo and another 1s for retry, which allows to complete reqs and put last ctrlr references ...and another 1s to improve test stability). Fixes #3663. Change-Id: I476a262e97e85336588d4a54ec01fa5abae0ab53 Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25983 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com>