]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: create shouldn't be called in DiscardTruncate{AssertExists,} 26825/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 6 Mar 2019 14:43:12 +0000 (15:43 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 7 Mar 2019 19:37:03 +0000 (20:37 +0100)
commit996b4f41fae6c05b3085b68f19a4f28dd2adfc6c
tree6f7976b68c30ff4dd641174dd3c2bec55af47a4e
parent32b9385dc5f8016af3ba142c1f735fd898deec3c
test/librbd: create shouldn't be called in DiscardTruncate{AssertExists,}

MockTestMemIoCtxImpl is a NiceMock which suppresses all "uninteresting
method call" warnings.  Add explicit Times(0) expectations.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/librbd/io/test_mock_ObjectRequest.cc