From: Sage Weil Date: Fri, 7 Jul 2017 02:34:58 +0000 (-0400) Subject: ceph_test_rados_api_c_read_operations: do not assert per-op rval is correct X-Git-Tag: v12.1.1~138^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4f6e7c0606128c7e5ad2676bafbddd7b5529f6f;p=ceph.git ceph_test_rados_api_c_read_operations: do not assert per-op rval is correct This is not included in the pg log and may be zeroed if there is an op replayed. Disable the assertion until the underlying bug is fixed. See http://tracker.ceph.com/issues/19518 Signed-off-by: Sage Weil --- diff --git a/src/test/librados/c_read_operations.cc b/src/test/librados/c_read_operations.cc index 41714219c313..605fe4ff3ddc 100644 --- a/src/test/librados/c_read_operations.cc +++ b/src/test/librados/c_read_operations.cc @@ -606,7 +606,9 @@ TEST_F(CReadOpsTest, Omap) { rados_write_op_omap_rm_keys(op, keys, 2); EXPECT_EQ(-ECANCELED, rados_write_op_operate(op, ioctx, obj, NULL, 0)); rados_release_write_op(op); - ASSERT_EQ(-ECANCELED, r_vals); + + // see http://tracker.ceph.com/issues/19518 + //ASSERT_EQ(-ECANCELED, r_vals); // verifying the keys are still there, and then remove them op = rados_create_write_op();