]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Fix for error message changed in ceph-objectstore-tool
authorDavid Zafman <dzafman@redhat.com>
Thu, 13 Sep 2018 20:14:15 +0000 (13:14 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 13 Sep 2018 20:19:11 +0000 (13:19 -0700)
Fixes: http://tracker.ceph.com/issues/35982
Caused by: 6bd682f53dfe0b2f7c31b5c1ba081afb72f1dd6c

Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/special/ceph_objectstore_tool.py

index d764c9fa58baa4a4fda3649036ca39db6e22b3e6..d0926872559149d36caa51a68a32078861ac3a50 100755 (executable)
@@ -983,7 +983,7 @@ def main(argv):
     # On import can't specify a PG with a bad seed
     TMPPG="{pool}.80".format(pool=REPID)
     cmd = (CFSD_PREFIX + "--op import --pgid {pg} --file {file}").format(osd=ONEOSD, pg=TMPPG, file=OTHERFILE)
-    ERRORS += test_failure(cmd, "Illegal pgid, the seed is larger than current pg_num")
+    ERRORS += test_failure(cmd, "PG {pg} no longer exists".format(pg=TMPPG))
 
     os.unlink(OTHERFILE)
     cmd = (CFSD_PREFIX + "--op import --file {FOO}").format(osd=ONEOSD, FOO=OTHERFILE)