]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-helpers.sh implement wait_for_osd
authorLoic Dachary <ldachary@redhat.com>
Sat, 16 May 2015 09:12:16 +0000 (11:12 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 17 May 2015 10:10:47 +0000 (12:10 +0200)
commitde20f61529ce08d2c8e71638c7a5f7b5760ceee2
tree020c705946df09bea327c45c40f5c419fe39a605
parent7ee4a04c2be3a105acdbae6254e00f3cca0f11f9
tests: ceph-helpers.sh implement wait_for_osd

The wait_for_osd to wait for an osd to go up and down is needed
internally, after running an osd. Move the inline snippet from run_osd
into a function so that it can be used by scripts as well.

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