From: Sage Weil Date: Thu, 1 Dec 2016 16:57:17 +0000 (-0500) Subject: ceph_test_objectstore: fix Rename test X-Git-Tag: v11.1.0~91^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12261%2Fhead;p=ceph.git ceph_test_objectstore: fix Rename test We were doing a no-op setattr here, even though the intenral ENOENT used to be ignored, because it previously triggered a bug in bluestore. We're no longer ignoring that internal error, though, as of 6ecb44f0c6216f3fb29b384a2d10c7d33bf1d19c, so remove this part of the test. The original bluestore bug we used to trigger was fixed by 0210f1fde6f8e17affdd0c49055a71a01f109447. Signed-off-by: Sage Weil --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 0f3cadd226ae0..964eed219d793 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -5066,7 +5066,6 @@ TEST_P(StoreTest, Rename) { ObjectStore::Transaction t; t.remove(cid, dstoid); t.collection_move_rename(cid, srcoid, cid, dstoid); - t.setattr(cid, srcoid, "attr", a); // note: this is a no-op r = apply_transaction(store, &osr, std::move(t)); ASSERT_EQ(r, 0); }