mirror of
https://github.com/ceph/ceph
synced 2024-12-29 23:12:27 +00:00
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:
parent
7f83a24553
commit
6d53e2c380
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user