ut/compress: Remove unused MOCK for spdk_bdev_io_get_io_channel()
Removing MOCK for spdk_bdev_io_get_io_channel() caused no difference. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ic91bff0f163ff5ad607abc8fa4d5eef10215b043 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1450 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
d5a0220ed1
commit
e92a77b148
@ -964,7 +964,6 @@ test_vbdev_compress_submit_request(void)
|
||||
g_bdev_io->internal.status = SPDK_BDEV_IO_STATUS_FAILED;
|
||||
g_bdev_io->type = SPDK_BDEV_IO_TYPE_WRITE;
|
||||
g_completion_called = false;
|
||||
MOCK_SET(spdk_bdev_io_get_io_channel, g_io_ch);
|
||||
vbdev_compress_submit_request(g_io_ch, g_bdev_io);
|
||||
CU_ASSERT(g_bdev_io->internal.status == SPDK_BDEV_IO_STATUS_SUCCESS);
|
||||
CU_ASSERT(g_completion_called == true);
|
||||
|
Loading…
Reference in New Issue
Block a user