]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/test_progress.py: Delay recover in test_progress
authorKamoltat <ksirivad@redhat.com>
Tue, 13 Jul 2021 19:14:43 +0000 (19:14 +0000)
committerKamoltat <ksirivad@redhat.com>
Thu, 30 Sep 2021 13:33:03 +0000 (13:33 +0000)
commita8003f3449a9ae282e1d5b3ef9b8dceb27c38a65
treea32be7c0799488b5f33268cba27d86dc02859c52
parent49451d547ca2637c8afd5375870320da0c5953bf
mgr/test_progress.py: Delay recover in test_progress

Changes some the tests in teuthology to make
the test more deterministic.
Using:

`ceph osd set norecover` and
`ceph osd set nobackfill` when marking osds in
or out. As this will delay the recovery and make
sure it the test cases get the chance to check
that there is actually events poping up in
the progress module.

took out test_osd_cannot_recover from
tasks/mgr/test_progress.py since it is no longer
a relevant test case since recovery will get
triggered regardless if pg is unmoved.

Ignoring `OSDMAP_FLAGS` in teuthology
because we are using norecover and nobackfill
to delay the recovery process, therefore, it
will create a health warning and fails the
teuthology test.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 5f33f2f6e0609b452db47b341aaf6d5889917563)
qa/suites/rados/mgr/tasks/progress.yaml
qa/tasks/mgr/test_progress.py