]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/TestPGLog: fix the FTBFS 7855/head
authorKefu Chai <kchai@redhat.com>
Tue, 1 Mar 2016 04:10:26 +0000 (12:10 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 1 Mar 2016 05:20:29 +0000 (13:20 +0800)
the new pure virtual method was introduced by e7edf20.

Fixes: #14930
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/osd/TestPGLog.cc

index 336c34e204547ceb8005899008487bafc70a7d4c..34d13133a0c7e001991acda98c1313987f289a15 100644 (file)
@@ -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) {}
 };