From: David Zafman Date: Thu, 13 Sep 2018 20:14:15 +0000 (-0700) Subject: test: Fix for error message changed in ceph-objectstore-tool X-Git-Tag: v14.0.1~277^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d53e2c38059aee663505eb45599c473dc41396c;p=ceph.git test: Fix for error message changed in ceph-objectstore-tool Fixes: http://tracker.ceph.com/issues/35982 Caused by: 6bd682f53dfe0b2f7c31b5c1ba081afb72f1dd6c Signed-off-by: David Zafman --- diff --git a/qa/standalone/special/ceph_objectstore_tool.py b/qa/standalone/special/ceph_objectstore_tool.py index d764c9fa58baa..d092687255914 100755 --- a/qa/standalone/special/ceph_objectstore_tool.py +++ b/qa/standalone/special/ceph_objectstore_tool.py @@ -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)