]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/dump_stuck: fix dump_stuck test bug 16559/head
authorhuangjun <huangjun@xsky.com>
Tue, 25 Jul 2017 11:14:07 +0000 (11:14 +0000)
committerhuangjun <huangjun@xsky.com>
Tue, 25 Jul 2017 11:14:07 +0000 (11:14 +0000)
commitdaf8efee328596f27aad5b53ba560acce6185e53
treea8a8c786146d30e1d69fae470ed4465a04da6ba6
parent62b6d2d92375e0c981349f155db7953c10f8a46f
  qa/tasks/dump_stuck: fix dump_stuck test bug

  Test cluster with 2 osds, stop osd.0, if osd.1
  report the pg stats during pg peering, mon will
  record pg state to 'peering',then stop osd.1,
  finally the pg state will stuck in 'stale+peering',
  which is unexpected.

  Let's wait_for_active() after stop osd.0.

Signed-off-by: huangjun <huangjun@xsky.com>
qa/tasks/dump_stuck.py