test: Fix for error message changed in ceph-objectstore-tool

Fixes: http://tracker.ceph.com/issues/35982

Caused by: 6bd682f53d

Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
David Zafman 2018-09-13 13:14:15 -07:00
parent 7f83a24553
commit 6d53e2c380

View File

@ -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)