]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: resolve ceph-helpers races
authorLoic Dachary <ldachary@redhat.com>
Fri, 19 Dec 2014 11:26:37 +0000 (12:26 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 6 Jan 2015 18:10:34 +0000 (19:10 +0100)
commitde0213457dc4e81661c32d834daac4c4ba86e278
tree7beab0cfd1480af03f7f4da4d51f03331f34374e
parent386ab7cef39b00b572c1bdfdfc53546f50a2520b
tests: resolve ceph-helpers races

Some tests were racing against the monitor. On a fast machine it worked
but slower machines (or sometime when running in parallel), the monitor
is lagging behind. Use wait_for_clean to make sure the monitor is in the
desired state for the test to succeed.

http://tracker.ceph.com/issues/10384 Fixes: #10384

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-helpers.sh