]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone: Add missing teardowns to a subset of osd tests
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 7 Jul 2021 18:59:30 +0000 (00:29 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Thu, 8 Jul 2021 07:58:31 +0000 (13:28 +0530)
commita96c34f0ee91af55f80fb58936299f5effc0c0cc
tree86b6c3d75897edc4e0110d470d00079c5dfe1e07
parent7a31ae31584fdb967c470974034070ce9e687ac7
qa/standalone: Add missing teardowns to a subset of osd tests

The following files and tests in them did not teardown the
cluster after a test completed.

1. osd/osd-force-create.sh
2. osd/osd-reuse-id.sh
3. osd/pg-split-merge.sh

This wouldn't cause issues if the tests are run individually. But when
running all the tests in the files mentioned above, it could introduce
unexpected test failures down the line. For e.g., multiple tests may
create pools with same name and if they are not cleaned up properly, this
could result in unexpected failures in a subsequent test.

Fixes: https://tracker.ceph.com/issues/51580
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
qa/standalone/osd/osd-force-create-pg.sh
qa/standalone/osd/osd-reuse-id.sh
qa/standalone/osd/pg-split-merge.sh