Spdk/test/ocf
Vitaliy Mysak 8d22cb3e4d test/ocf: clean metadata before test
Now that we are switching to json config,
metadata takes priority at startup,
which can result in test failure because
some devices were created from metadata.

This patch uses clear_nvme() - the same function
that is used in test/ocf/management/persistent-metadata.sh
It is factored out in following patch.

This patch fixes issue #1287

Change-Id: I16d40d0c1586a970c30761c0e1a81445621a419d
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1628
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-04-14 11:35:17 +00:00
..
integrity test/ocf: clean metadata before test 2020-04-14 11:35:17 +00:00
management test: Shellcheck - correct rule: Expanding an array 2019-11-27 07:08:57 +00:00
ocf.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00