]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone: Add missing teardowns to a subset of osd-scrub-repair tests 42258/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 7 Jul 2021 19:09:26 +0000 (00:39 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Fri, 9 Jul 2021 09:14:15 +0000 (14:44 +0530)
commit9874f3075a28f44548716c075744fa68af28a9c5
tree042cb6c28e285d093770df28d9cd0c97586f4fd7
parent62fad7f9e05e332038927fb9829916609cdc848f
qa/standalone: Add missing teardowns to a subset of osd-scrub-repair tests

Tests identified with missing teardown within osd-scrub-repair.sh:
  1. TEST_periodic_scrub_replicated()
  2. TEST_scrub_warning()
  3. TEST_request_scrub_priority()

Centralize setup and teardown within the run() function for all the tests.

Fixes: https://tracker.ceph.com/issues/51580
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
(cherry picked from commit 84cab65e3aafcf656b860abd72a09799458f6bc5)

 Conflicts:
qa/standalone/scrub/osd-scrub-repair.sh
 - Removed non-existent test TEST_auto_repair_bluestore_tag() and its
   associated helper functions initiate_and_fetch_state() and
   wait_end_of_scrub()
qa/standalone/scrub/osd-scrub-repair.sh