]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/rbd: merge journal and snapshot test scripts
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Mon, 17 Oct 2022 08:05:22 +0000 (13:35 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Thu, 2 Nov 2023 12:41:55 +0000 (18:11 +0530)
commit3fd8a03887354a0c5a11d1eaae386b09242c14a9
treef55ff0bf7d970ddc5bd79ec13e367d4ee00fa049
parent0a046b6de30c0c883d4150b3f12ccc9a6f47d1e5
qa/workunits/rbd: merge journal and snapshot test scripts

The idea is to avoid the maintenance of duplicate code in both the journal
and snapshot test scripts.

Usage:
   RBD_MIRROR_MODE=journal rbd_mirror.sh

Use environment variable RBD_MIRROR_MODE to set the mode
Available modes: snapshot | journal

Fixes: https://tracker.ceph.com/issues/54312
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
13 files changed:
qa/suites/rbd/mirror-thrash/workloads/rbd-mirror-journal-workunit.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-exclusive-lock.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-fast-diff.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-journaling.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-snapshot-workunit-minimum.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-config-key.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-min-compat-client-octopus.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-policy-none.yaml
qa/suites/rbd/mirror/workloads/rbd-mirror-workunit-policy-simple.yaml
qa/workunits/rbd/rbd_mirror.sh [new file with mode: 0755]
qa/workunits/rbd/rbd_mirror_helpers.sh
qa/workunits/rbd/rbd_mirror_journal.sh [deleted file]
qa/workunits/rbd/rbd_mirror_snapshot.sh [deleted file]