]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Verify replicated PG beyond just data after vstart
authorDavid Zafman <dzafman@redhat.com>
Wed, 11 Nov 2015 02:20:46 +0000 (18:20 -0800)
committerDavid Zafman <dzafman@redhat.com>
Thu, 25 Feb 2016 20:50:26 +0000 (12:50 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 9a29c5983cd392e4b479b6b685fb0c3797c10cd2)

src/test/ceph_objectstore_tool.py

index 7a1e2d17fd5b46d1230d6f68f1b869192d8f5e7f..610d1ba8c1d1217cec45f2675a3af98490e86e0b 100755 (executable)
@@ -1500,6 +1500,9 @@ def main(argv):
     if EXP_ERRORS == 0 and RM_ERRORS == 0 and IMP_ERRORS == 0:
         print "Verify erasure coded import data"
         ERRORS += verify(DATADIR, EC_POOL, EC_NAME, db)
+        # Check replicated data/xattr/omap using rados
+        print "Verify replicated import data using rados"
+        ERRORS += verify(DATADIR, REP_POOL, REP_NAME, db)
 
     if EXP_ERRORS == 0:
         NEWPOOL = "import-rados-pool"