]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
the return value is not boolean 15277/head
authorzhanglei <243290414@qq.com>
Fri, 2 Jun 2017 07:37:44 +0000 (03:37 -0400)
committerzhanglei <243290414@qq.com>
Fri, 2 Jun 2017 07:37:44 +0000 (03:37 -0400)
Signed-off-by: zhanglei <243290414@qq.com>
src/test/ObjectMap/test_object_map.cc

index 7f4cc0a392b7f0ef689cf031d127b1e794f28b95..8d3f6882c93cff222816e5da37977cff43715fe3 100644 (file)
@@ -680,7 +680,7 @@ TEST_F(ObjectMapTest, CreateOneObject) {
   bufferlist bl;
   bl.append(bp);
   to_set.insert(make_pair(key, bl));
-  ASSERT_FALSE(db->set_keys(hoid, to_set));
+  ASSERT_EQ(db->set_keys(hoid, to_set), 0);
 
   map<string, bufferlist> got;
   set<string> to_get;