From ee4a9f25ec7d7cfa99f661ea6491a3904e1beca3 Mon Sep 17 00:00:00 2001 From: Sam Lang Date: Fri, 18 Jan 2013 18:53:49 -0600 Subject: [PATCH] marginal/mds_thrasher: Add tests for mds thrasher Adds a basic set of roles for testing the mds thrasher with 1 active and 1 standby, and a few basic tests that stress mds operations. Signed-off-by: Sam Lang --- .../mds_thrasher/clusters/mds-1active-1standby.yaml | 4 ++++ .../mds_thrasher/tasks/cfuse_workunit_suites_fsstress.yaml | 7 +++++++ .../mds_thrasher/tasks/cfuse_workunit_trivial_sync.yaml | 6 ++++++ suites/marginal/mds_thrasher/thrash/default.yaml | 2 ++ 4 files changed, 19 insertions(+) create mode 100644 suites/marginal/mds_thrasher/clusters/mds-1active-1standby.yaml create mode 100644 suites/marginal/mds_thrasher/tasks/cfuse_workunit_suites_fsstress.yaml create mode 100644 suites/marginal/mds_thrasher/tasks/cfuse_workunit_trivial_sync.yaml create mode 100644 suites/marginal/mds_thrasher/thrash/default.yaml diff --git a/suites/marginal/mds_thrasher/clusters/mds-1active-1standby.yaml b/suites/marginal/mds_thrasher/clusters/mds-1active-1standby.yaml new file mode 100644 index 0000000000000..7e951b95889e8 --- /dev/null +++ b/suites/marginal/mds_thrasher/clusters/mds-1active-1standby.yaml @@ -0,0 +1,4 @@ +roles: +- [mon.a, mon.c, osd.0, osd.1, osd.2] +- [mon.b, mds.a, osd.3, osd.4, osd.5] +- [client.0, mds.b-s-a] diff --git a/suites/marginal/mds_thrasher/tasks/cfuse_workunit_suites_fsstress.yaml b/suites/marginal/mds_thrasher/tasks/cfuse_workunit_suites_fsstress.yaml new file mode 100644 index 0000000000000..8f0bc592c903a --- /dev/null +++ b/suites/marginal/mds_thrasher/tasks/cfuse_workunit_suites_fsstress.yaml @@ -0,0 +1,7 @@ +tasks: +- ceph: +- ceph-fuse: +- workunit: + clients: + all: + - suites/fsstress.sh diff --git a/suites/marginal/mds_thrasher/tasks/cfuse_workunit_trivial_sync.yaml b/suites/marginal/mds_thrasher/tasks/cfuse_workunit_trivial_sync.yaml new file mode 100644 index 0000000000000..85c9fd168f6a6 --- /dev/null +++ b/suites/marginal/mds_thrasher/tasks/cfuse_workunit_trivial_sync.yaml @@ -0,0 +1,6 @@ +tasks: +- ceph: +- ceph-fuse: +- workunit: + clients: + all: [misc/trivial_sync.sh] diff --git a/suites/marginal/mds_thrasher/thrash/default.yaml b/suites/marginal/mds_thrasher/thrash/default.yaml new file mode 100644 index 0000000000000..aefdf826ce7f1 --- /dev/null +++ b/suites/marginal/mds_thrasher/thrash/default.yaml @@ -0,0 +1,2 @@ +tasks: +- mds_thrash: -- 2.39.5