]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/unittest_bluefs: check whether mounted success 14988/head
authorshiqi <1454927420@qq.com>
Mon, 8 May 2017 00:15:08 +0000 (08:15 +0800)
committershiqi <1454927420@qq.com>
Mon, 8 May 2017 00:15:08 +0000 (08:15 +0800)
Signed-off-by: shiqi <1454927420@qq.com>
src/test/objectstore/test_bluefs.cc

index 7ca7fc1934b31dc13108fc00d8217afac3f63437..4d437f6a8648f343e0348aca840d29dbc355575a 100644 (file)
@@ -562,7 +562,7 @@ TEST(BlueFS, test_replay) {
   }
   fs.umount();
   // remount and check log can replay safe?
-  fs.mount();
+  ASSERT_EQ(0, fs.mount());
   fs.umount();
   rm_temp_bdev(fn);
 }