Spdk/test/common
paul luse 975e461496 test/autotest_common: add new function waitforbdev()
Waits up to 2 seconds for a bdev to arrive, if not returns error.
In the next patch in this series this is used and seems like a good
general function.

Change-Id: I3402f34f3dad3d7373973dc785520a5c4e58cd14
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456091
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-06-04 05:20:51 +00:00
..
config vm_setup:install right packages on ubuntu for SoftRoCE 2019-05-29 21:31:36 +00:00
lib thread: Add a mechanism to exit a lightweight thread 2019-05-22 04:23:17 +00:00
autotest_common.sh test/autotest_common: add new function waitforbdev() 2019-06-04 05:20:51 +00:00