mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
qa/tasks/dump_stuck: fix for active+clean+remapped
In d24a888665
we made remapped a clean
state but didn't fix this test.
Fixes: http://tracker.ceph.com/issues/20431
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
fe4d15191d
commit
80e2b156e0
@ -63,6 +63,7 @@ def task(ctx, config):
|
||||
# '--mon-osd-report-timeout 90',
|
||||
'--mon-pg-stuck-threshold 10')
|
||||
|
||||
# all active+clean
|
||||
check_stuck(
|
||||
manager,
|
||||
num_inactive=0,
|
||||
@ -76,10 +77,11 @@ def task(ctx, config):
|
||||
manager.flush_pg_stats([1])
|
||||
manager.wait_for_recovery(timeout)
|
||||
|
||||
# all active+clean+remapped
|
||||
check_stuck(
|
||||
manager,
|
||||
num_inactive=0,
|
||||
num_unclean=num_pgs,
|
||||
num_unclean=0,
|
||||
num_stale=0,
|
||||
)
|
||||
|
||||
@ -87,6 +89,7 @@ def task(ctx, config):
|
||||
manager.flush_pg_stats([0, 1])
|
||||
manager.wait_for_clean(timeout)
|
||||
|
||||
# all active+clean
|
||||
check_stuck(
|
||||
manager,
|
||||
num_inactive=0,
|
||||
|
Loading…
Reference in New Issue
Block a user