Spdk/test/unit/lib/nvmf/subsystem.c
Jiewei Ke 281a7c2a15 test/unit/lib/nvmf: register target io device for test_spdk_nvmf_ns_event
In test_spdk_nvmf_ns_event, when doing ns resize it will call
spdk_for_each_channel() to pause the subsystem. But it doesn't call
spdk_io_device_register() in advance. This is wrong and may run into
assertion with the coming change since the io_device is not found.

Signed-off-by: Jiewei Ke <jiewei@smartx.com>
Change-Id: I077b41f812266248c39fdbdb8cdff352d3b4cb74
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8767
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
2021-07-16 07:11:53 +00:00
..
.gitignore test: move NVMe-oF library tests to test/unit 2017-06-21 16:51:12 -04:00
Makefile nvmf: enable ptpl feature with reservation register command 2019-07-02 00:06:59 +00:00
subsystem_ut.c test/unit/lib/nvmf: register target io device for test_spdk_nvmf_ns_event 2021-07-16 07:11:53 +00:00