From: Kefu Chai Date: Tue, 1 Mar 2016 04:10:26 +0000 (+0800) Subject: test/TestPGLog: fix the FTBFS X-Git-Tag: v10.1.0~274^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=203987331e7461c84f1a9da18562e3fa7b00df1e;p=ceph.git test/TestPGLog: fix the FTBFS the new pure virtual method was introduced by e7edf20. Fixes: #14930 Signed-off-by: Kefu Chai --- diff --git a/src/test/osd/TestPGLog.cc b/src/test/osd/TestPGLog.cc index 336c34e204547..34d13133a0c7e 100644 --- a/src/test/osd/TestPGLog.cc +++ b/src/test/osd/TestPGLog.cc @@ -166,6 +166,9 @@ public: const hobject_t &hoid) { removed.insert(hoid); } + void try_stash(const hobject_t &, version_t) override { + // lost/unfound cases are not tested yet + } void trim( const pg_log_entry_t &entry) {} }; @@ -275,6 +278,9 @@ struct TestHandler : public PGLog::LogEntryHandler { removed.push_back(hoid); } void cant_rollback(const pg_log_entry_t &entry) {} + void try_stash(const hobject_t &, version_t) override { + // lost/unfound cases are not tested yet + } void trim( const pg_log_entry_t &entry) {} };