]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/cephtool/test.sh: wait longer in ceph_watch_start() 7861/head
authorKefu Chai <kchai@redhat.com>
Tue, 1 Mar 2016 09:40:04 +0000 (17:40 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 1 Mar 2016 12:48:24 +0000 (20:48 +0800)
commit6eff39af7995788f9aae03167468d9bf7239604b
treef937cfc4b08b1d57016b0562acac52a385130502
parentd5c9349ea8e642c3c47b790a21bd5213f75e76d7
qa/workunits/cephtool/test.sh: wait longer in ceph_watch_start()

"ceph --watch-debug" and "ceph tell mon.foo version" could connect
to different monitors, and there is chance that "ceph --watch-debug"
is not connected yet when "ceph tell" completes, and hence the former
fails to collect the cluster log including the "ceph tell" related
message. this renders test_mon_tell() unreliable. so, in
ceph_watch_start(), we should wait until the "ceph" cli connects to the
monitor and receives messages from it.

Fixes: #14910
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh