mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
qa/tasks: Add additional wait_for_clean() check in lost_unfound tasks.
At the end of the lost_unfound tests add an additional wait_for_clean() check to ensure that recoveries get enough time to complete before proceeding and avoid failures down the line. For e.g. failure like "Scrubbing terminated -- not all pgs were active and clean." is because recoveries on the PGs did not get sufficient time to complete even though they were bound to eventually complete. Fixes: https://tracker.ceph.com/issues/49844 Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
This commit is contained in:
parent
1ddca6b563
commit
88df47230b
@ -156,3 +156,4 @@ def task(ctx, config):
|
||||
manager.wait_till_osd_is_up(1)
|
||||
manager.wait_for_clean()
|
||||
run.wait(procs)
|
||||
manager.wait_for_clean()
|
||||
|
||||
@ -177,3 +177,4 @@ def task(ctx, config):
|
||||
manager.wait_till_osd_is_up(1)
|
||||
manager.wait_for_clean()
|
||||
run.wait(procs)
|
||||
manager.wait_for_clean()
|
||||
|
||||
@ -175,4 +175,5 @@ def task(ctx, config):
|
||||
manager.wait_till_osd_is_up(1)
|
||||
manager.wait_for_clean()
|
||||
run.wait(procs)
|
||||
manager.wait_for_clean()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user