numam-spdk/test
Tomasz Zawadzki 6429953a65 ut/blob: do not check for success on power failure UT
g_bserrno from blob deletion or snapshot creation,
should not be checked. It is implementation
dependent whether the error (or success) from those
calls actually means that enough data was persisted
on disk.
This test case should work even if we set the threshold
high enough that no failed opperations occur.

On the other hand some parts of those calls do cleanup
in them, meanwhile there is enough metadata data on disk already.
Such as cleaning up unused clusters or pages issue
writes, but at that point the blobs already are in expected
state.

Thus removed assert for g_bserrno, as failure is not indicative
of impossibility to recover.

While here, removed the spdk_bs_unload(). This UT are for
testing power fail safety. Never should it be the case that
enough writes occured in create/delete, but blobs are not
in the expected state.
When such bug would be introduced, it could be covered up
by spdk_bs_unload() cleanly closing up the blobstore.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ic69c3061f2cc1fe04bf895632cdb11efb2fe6912
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/482660
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-01-27 18:06:43 +00:00
..
app Revert "test/iscsi: add application for target fuzz testing." 2020-01-23 06:19:00 +00:00
bdev test/bdevio: Add compare and write test 2020-01-27 17:39:52 +00:00
blobfs test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
blobstore test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
common test/common: make gdb_attach global 2020-01-27 17:39:52 +00:00
compress test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
config_converter test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
ftl lib/ftl: Use nbd during fio test 2020-01-16 12:33:17 +00:00
fuzz test/fuzz fix end of test behavior. 2020-01-20 09:59:49 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/common: make gdb_attach global 2020-01-27 17:39:52 +00:00
json_config test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00
lvol test/lvol: Add test to check 'clear_method unmap' behaviour 2020-01-20 09:57:16 +00:00
make test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
nvme test/nvme: cuse nvme-cli check if oacs firmware supported 2020-01-20 10:01:00 +00:00
nvmf test: Make nvmf target filesystem test more robust 2020-01-27 17:42:24 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit ut/blob: do not check for success on power failure UT 2020-01-27 18:06:43 +00:00
vhost test/vhost_perf: refactor test scripts to use disk map 2020-01-24 15:13:00 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00