numam-spdk/test
Shuhei Matsumoto f2576eb05b ut/thread: Fix bugs in test case for_each_channel_remove()
The test case for_each_channel_remove() did not have any
assertion and the count was not incremented correctly.

This patch fixes several issues in for_each_channel_remove()
by counting spdk_get/put_io_channel() and spdk_for_each_channel()
correctly and achieves what we wanted to do in this test case.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Iceffd924f8887452bd7dad48e30d121874ab0b05
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/483
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-02-13 09:51:15 +00:00
..
app doc: Fix Markdown MD032 linter warnings 2020-02-06 09:46:06 +00:00
bdev bdevperf: Change return type of bdevperf_test() to void and include its error handling 2020-02-10 10:26:28 +00:00
blobfs test/blobfs: Refactor exit behavior 2020-02-10 10:24:01 +00:00
blobstore lib/log: do not put trailing whitespace in fdump 2020-02-04 20:08:02 +00:00
common test/common: Make sure that extdebug is enabled as soon as possible 2020-02-11 08:38:08 +00:00
compress module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +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 bdev/ftl: "use_append" parameter for bdev_ftl_create RPC 2020-02-04 18:10:01 +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: rewrite destroy_lvol_store_nonexistent_lvs_uuid to bash 2020-02-04 19:27:53 +00:00
make test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
nvme test/nvme: Don't wait for spdk_stub0 if stub dies prematurely 2020-02-04 20:22:23 +00:00
nvmf test/nvmf: disable bdevperf tests on soft-roce 2020-01-30 16:52:10 +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 script: update pmem test script 2020-02-12 12:07:30 +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/thread: Fix bugs in test case for_each_channel_remove() 2020-02-13 09:51:15 +00:00
vhost test/vhost: Replace old style config with json in initiator test 2020-02-10 10:25:11 +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