]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_objectstore: trivial init fix
authorSage Weil <sage@redhat.com>
Thu, 10 Dec 2015 21:35:37 +0000 (16:35 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:06:55 +0000 (13:06 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/store_test.cc

index 5ed2bf974865bea7d24199c04a7ea0f62a298df1..b149673d390c3275e2f3f7619bb91b07a0d62b80 100644 (file)
@@ -59,9 +59,9 @@ public:
       cerr << __func__ << ": objectstore type " << string(GetParam()) << " doesn't exist yet!" << std::endl;
       return;
     }
+    EXPECT_EQ(store_->mkfs(), 0);
+    EXPECT_EQ(store_->mount(), 0);
     store.reset(store_);
-    EXPECT_EQ(store->mkfs(), 0);
-    EXPECT_EQ(store->mount(), 0);
   }
 
   virtual void TearDown() {