]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/test_progress.py: Delay recover in test_progress 41907/head
authorKamoltat <ksirivad@redhat.com>
Tue, 13 Jul 2021 19:14:43 +0000 (19:14 +0000)
committerKamoltat <ksirivad@redhat.com>
Tue, 13 Jul 2021 19:33:20 +0000 (19:33 +0000)
commit5f33f2f6e0609b452db47b341aaf6d5889917563
tree7a9c4b2ce0fcc0fc83f7c9a24bd21670af52dca6
parent4504749b81f9cb11d92d5f280565aff3f243adf3
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>
qa/suites/rados/mgr/tasks/progress.yaml
qa/tasks/mgr/test_progress.py