Spdk/test
Darek Stojaczyk bb64a7e511 ut/bdev_mt: fix io_channel leak in "unregister_and_close"
We didn't call teardown_test() in "unregister_and_close"
test case, causing the subsequent test case to fail
to register the same io_channel. This didn't cause any
issues, as spdk_io_device_register() silently returned
if the same io_device was already registered. However,
there was an extra error message printed and this patch
gets rid of it.

```
  Test: unregister_and_close ...passed
  Test: basic_qos ...thread.c: 850:spdk_io_device_register: *ERROR*:
io_device 0x55555576e4e0 already registered (old:0x555555770ab0
new:0x55555d7a14d0)
passed
```

Change-Id: Ib554612df8985c9d99b46b71bb76020f52565362
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450111
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-04-05 16:21:58 +00:00
..
app notify: add notification library 2019-03-29 21:15:14 +00:00
bdev nbd: optional nbd_device in start_nbd_disk 2019-04-04 08:35:50 +00:00
blobfs blobfs: Change channel type for synchronous operations 2019-04-02 23:24:30 +00:00
blobstore histograms: tests for bdev histograms 2019-01-24 21:50:18 +00:00
common autotest_common: delete ceph_raw.img after test 2019-04-01 23:59:44 +00:00
config_converter bdev/nvme: Add configuration parameter to slow down polling 2019-03-19 07:27:44 +00:00
cpp_headers build: don't include spdk.app.mk in test/cpp_headers 2018-12-12 22:35:21 +00:00
env test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00
event notify: add notification library 2019-03-29 21:15:14 +00:00
ftl bdev/ftl: Add json config generation 2019-04-01 23:59:39 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt test/iscsi: remove leftover code from fio.sh 2019-04-04 03:58:56 +00:00
json_config bdev/compress: prepare to add some unit tests 2019-04-02 00:06:34 +00:00
lvol test/lvol: Implement test case 653 2019-03-01 22:54:07 +00:00
nvme test/nvmf/nvme-cli: don't run nvme-cli as secondary process 2019-01-29 20:54:13 +00:00
nvmf fio_plugin: add support for mocking SGL entries 2019-04-02 23:26:08 +00:00
ocf ocf: rpc: extend get_ocf_bdevs for multicore cases 2019-03-26 23:30:31 +00:00
pmem bdev: remove delete_bdev RPC 2019-03-01 08:50:07 +00:00
rpc_client jsonrpc: add connection close callback 2019-01-10 14:31:37 +00:00
spdkcli test/spdkcli: update match file to cover larger volume NVMe SSD 2019-03-08 02:18:15 +00:00
unit ut/bdev_mt: fix io_channel leak in "unregister_and_close" 2019-04-05 16:21:58 +00:00
vhost scripts, test: fix python overindent issues 2019-04-04 03:59:12 +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