+25
−3
Loading
A number of corrections and improvements in CUSE tests: - spdk_nvme_ctrlr_is_active_ns and spdk_nvme_ctrlr_get_first_active_ns return 0 if number of active namespaces (g_active_num_ns) is 0. In this case we shall not report any active namespaces through these functions. - increased loop count in verify_files() which wil increase wait time for busy systems, for which 100 ms could not be enough. - added more test cases for nvme_cuse_update(), to test shrinking/expanding namespace id range. Suggested-by:Jim Harris <jim.harris@samsung.com> Fixes #3377 Change-Id: I8fc729f079745e1f573ab4fd692fc7f5a22ef7bf Signed-off-by:
Marcin Spiewak <marcin.spiewak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23450 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>