]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks: introduce Thrasher base class
authorJos Collin <jcollin@redhat.com>
Mon, 5 Aug 2019 10:52:10 +0000 (16:22 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 21 Aug 2019 05:19:46 +0000 (10:49 +0530)
commitf31791e35d8eeaba2355cf2af6c2cab8b6149c6b
tree62945afda0d37e9bd73c9ea373e2b175b35665ee
parent5a296278f605ea71adb4058e9ef058d793c1463f
qa/tasks: introduce Thrasher base class

* Introduced a Thrasher base class.
* Updated thrashers to inherit from Thrasher.
* Replaced the magic variable e with Thrasher.exception as per the discussion.
  Now the exception variable sets by default as the thrashers are inheriting
  from the Thrasher class.

Fixes: https://github.com/ceph/ceph/pull/28378#discussion_r309337928
Fixes: https://tracker.ceph.com/issues/41133
Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/tasks/ceph_manager.py
qa/tasks/daemonwatchdog.py
qa/tasks/mds_thrash.py
qa/tasks/mon_thrash.py
qa/tasks/rbd_mirror_thrash.py
qa/tasks/thrasher.py [new file with mode: 0644]
qa/tasks/thrashosds.py