diff options
author | Jason Dillaman <dillaman@redhat.com> | 2017-11-09 18:10:30 +0100 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2017-11-16 13:31:59 +0100 |
commit | 0e643fb926f0484bb4f860740c7f85b692de6737 (patch) | |
tree | ec53359c3f8e05b1edef48d0731836650ac29a71 /src/test/librbd/operation | |
parent | librbd: consolidate all object discard-related logic into single state machine (diff) | |
download | ceph-0e643fb926f0484bb4f860740c7f85b692de6737.tar.xz ceph-0e643fb926f0484bb4f860740c7f85b692de6737.zip |
librbd: refactor object write request state machines
Fixes: http://tracker.ceph.com/issues/20789
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/test/librbd/operation')
-rw-r--r-- | src/test/librbd/operation/test_mock_TrimRequest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librbd/operation/test_mock_TrimRequest.cc b/src/test/librbd/operation/test_mock_TrimRequest.cc index 8821a7cb9ed..9509b203fda 100644 --- a/src/test/librbd/operation/test_mock_TrimRequest.cc +++ b/src/test/librbd/operation/test_mock_TrimRequest.cc @@ -94,7 +94,7 @@ struct ObjectRequest<librbd::MockTestImageCtx> : public ObjectRequestHandle { MOCK_METHOD3(construct, void(uint64_t, uint64_t, bool)); MOCK_METHOD0(send, void()); - MOCK_METHOD1(complete, void(int)); + MOCK_METHOD1(fail, void(int)); }; ObjectRequest<librbd::MockTestImageCtx>* ObjectRequest<librbd::MockTestImageCtx>::s_instance = nullptr; |