Kefu Chai
7d37226548
qa/tasks/mgr: use relative import
...
for better readability, and to ease the pain of developer to track back
to the top level python package for referencing a submodule
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:51:24 +08:00
Kefu Chai
947a74349d
qa: import with full path
...
to be py3 compatible
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-24 18:27:55 +08:00
Kefu Chai
7d262db114
qa/tasks: call super class's setUp()
...
to address the regression introduced by
8729281121
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-15 12:39:08 +08:00
Ricardo Dias
b03537949a
qa/mgr/progress: fix timeout error when waiting for osd in event
...
Fixes: https://tracker.ceph.com/issues/40618
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-09-03 11:44:05 +01:00
Kamoltat (Junior) Sirivadhna
baa714117c
qa/tasks/mgr/test_progress.py: fix bug in 9b4dbf0
...
follow-up-fix for 9b4dbf0
basically we wanna look at the list that has inprogress events to inprogress+complete
Fixes: http://pulpito.ceph.com/kchai-2019-07-28_14:30:09-rados-wip-kefu2-testing-2019-07-28-1941-distro-basic-mira/4160881/
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2019-08-05 11:03:33 -04:00
Kefu Chai
9b4dbf0749
qa/tasks/mgr/test_progress.py: s/ev/new_event/
...
as a follow-up fix for 5604ba4e
Fixes: http://tracker.ceph.com/issues/40618
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-28 19:32:24 +08:00
Kamoltat (Junior) Sirivadhna
5604ba4ec1
qa/mgr/progress: Update the test suite for progress module
...
Update the test suite to reflect a feature
change that has been merged to master in
progress module where you create an event
when an osd is marked in.
Fixes: http://tracker.ceph.com/issues/40618
with success QA run in sepia:
http://pulpito.ceph.com/kchai-2019-07-16_10:10:01-rados-master-distro-basic-mira/
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
2019-07-22 11:09:42 -04:00
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
Sage Weil
1d305f1264
mgr/progress: revise message syntax a bit
...
"osd.0", not "OSD 0"
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-08 13:50:27 -06:00
John Spray
5ecd69099d
qa: add tests for progress module
...
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00