Spdk/test/common
Michal Berger 692fce3222 test/common: Introduce timeout in discover_bdevs()
In case something goes awfully wrong with the test which calls this
particular function, e.g:

  https://ci.spdk.io/results/autotest-per-patch/builds/4787

the CI's autotest runs may be blocked for max of 15 minutes before
failing the build. Instead, introduce internal timeout for the
routine itself (default of 30s) and fail the test sooner when it
expires.

Change-Id: I2c792c1781987e80e34c1fa19ec3eef43c25e38a
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1026
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2020-03-03 07:55:12 +00:00
..
config test/common: Add smartmontools dependencies for FUSE and NVMe-CUSE in vm_setup.sh 2020-02-27 10:16:19 +00:00
lib lib/thread: Add unique ID for each created SPDK thread 2020-02-27 10:14:23 +00:00
applications.sh test/common: Introduce new test flag for enabling debug app runs 2020-02-27 10:15:40 +00:00
autotest_common.sh test/common: Introduce timeout in discover_bdevs() 2020-03-03 07:55:12 +00:00
skipped_build_files.txt autobuild: Confirm we are building all files w/ scanbuild 2020-01-22 13:50:17 +00:00
skipped_tests.txt test/bdev: remove the gpt conf file / parameterize tests 2020-01-22 13:50:17 +00:00