From 6d53e2c38059aee663505eb45599c473dc41396c Mon Sep 17 00:00:00 2001 From: David Zafman Date: Thu, 13 Sep 2018 13:14:15 -0700 Subject: [PATCH] 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 --- qa/standalone/special/ceph_objectstore_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/standalone/special/ceph_objectstore_tool.py b/qa/standalone/special/ceph_objectstore_tool.py index d764c9fa58b..d0926872559 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)