Patrick Donnelly
1071f73c76
qa: use skipTest method instead of exception
...
This is the recommended method to skip a test according to [1]. It also lets us
avoid an unnecessary import.
[1] https://docs.python.org/2/library/unittest.html#unittest.TestCase.skipTest
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-04-24 09:38:52 -07:00
Patrick Donnelly
9aaf6118a4
qa: unmount clients prior to marking fs down
...
Evicted RHEL7.5 clients may hang.
Fixes: http://tracker.ceph.com/issues/38677
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-11 09:15:37 -07:00
Patrick Donnelly
4fa4eda9ee
qa: update discontinous map test to use mds freezing
...
and stop using standby_for_*.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:17 -08:00
Patrick Donnelly
8cbdad9f9b
qa: update testing for standby-replay
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:12 -08:00
Patrick Donnelly
cabefdeba0
qa: add test that down fs does not ERR
...
Also fix other test cases to not rely on health warning.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-17 18:14:10 -08:00
Yan, Zheng
5e843162da
qa/tasks/cephfs: add test for discontinuous mdsmap
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-19 14:34:29 +08:00
Patrick Donnelly
378a6fcfe8
qa: check old_max_mds is not wiped by marked down twice
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:57:45 -07:00
Patrick Donnelly
dde9ee1628
qa: add max_mds thrash test
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
88922255e9
qa: add test for cluster resizing
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
5503b2014c
qa: remove use of mds deactivate
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 11:26:56 -07:00
Patrick Donnelly
f6e1a797d4
Revert "Merge PR #19369 into master"
...
This reverts commit 3189ba19a7
, reversing
changes made to b7620de020
.
Despite the change in json format being positive, the unfortunate side-effect
is that it broke upgrade testing (because the QA framework must handle the
transition of mdsmap["info"] to a list from object) and the ceph-mgr.
Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 09:42:37 -08:00
Patrick Donnelly
1f1a2a27ef
qa: update handling of fs status format
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-21 10:35:09 -08:00
Patrick Donnelly
3a5f090a1e
qa: remove usage of mds dump
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-24 11:32:43 -07:00
Patrick Donnelly
183646c919
qa: remove use of obsolete mds commands
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-01 17:22:36 -07:00
Yan, Zheng
e4844706b0
qa/cephfs: don't use int() to convert string of float point number
...
Fixes: http://tracker.ceph.com/issues/20582
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-07-13 15:55:22 +08:00
Sage Weil
25717f7e84
qa/tasks/ceph_test_case.py: update health check helpers
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:52:03 -04:00
John Spray
b6cfa35458
qa: no longer need to explicitly enable multimds
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-23 17:07:34 +01:00
Patrick Donnelly
02c41f683d
qa: add health warning test for insufficient standbys
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-10 11:05:09 -04:00
John Spray
bf39f561e9
qa: fix test_standby_for_invalid_fscid with vstart_runner
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-31 12:13:57 -04:00
Patrick Donnelly
cf9e0da078
qa: use fs methods for setting configs
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-02-06 14:07:13 -05:00
Sage Weil
c01f2ee0e2
move ceph-qa-suite dirs into qa/
2016-12-14 11:29:55 -06:00