]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: workaround race condition in tests 2024/head
authorLoic Dachary <loic@dachary.org>
Wed, 25 Jun 2014 16:07:47 +0000 (18:07 +0200)
committerLoic Dachary <loic@dachary.org>
Wed, 25 Jun 2014 16:11:51 +0000 (18:11 +0200)
commit152bbd6a580e299704b71c3818b6236249813ce8
tree8caad77d0c84b53464b00b15ae310624e72c29c6
parent5d7add930c1c59d6887cb1f3fb504950f0579263
osd: workaround race condition in tests

Trying to "ceph tell" a newly created OSD sometime triggers an
ENXIO. The OSD creation function used for test scripts waits for the OSD
to report that it is up (according to ceph osd tree) before
returning. That reduces (maybe close ?) the condition that triggers the
error so that the tests do not randomly fail.

http://tracker.ceph.com/issues/8630 refs: #8630

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/osd/osd-test-helpers.sh