From: Loic Dachary Date: Sun, 19 Oct 2014 15:59:17 +0000 (-0700) Subject: tests: looping to wait for an osd to be up is expected X-Git-Tag: v0.89~46^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=17f5c3659c632b4f329d2e1a49d431a089e7735d;p=ceph.git tests: looping to wait for an osd to be up is expected Remove the reference to a bug that suggests otherwise. Signed-off-by: Loic Dachary --- diff --git a/src/test/osd/osd-test-helpers.sh b/src/test/osd/osd-test-helpers.sh index f754618cc17e..a3b74dcefcdb 100644 --- a/src/test/osd/osd-test-helpers.sh +++ b/src/test/osd/osd-test-helpers.sh @@ -59,9 +59,8 @@ function run_osd() { ./ceph osd crush create-or-move "$id" 1 root=default host=localhost status=1 - # Workaround for http://tracker.ceph.com/issues/8630 for ((i=0; i < 60; i++)); do - if ! ceph osd dump | grep "osd.$id up"; then + if ! ./ceph osd dump | grep "osd.$id up"; then sleep 1 else status=0