]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: remove racy tests from osd-pool-create.sh 1222/head
authorLoic Dachary <loic@dachary.org>
Wed, 12 Feb 2014 15:58:23 +0000 (16:58 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 13 Feb 2014 09:14:11 +0000 (10:14 +0100)
commit6ad6b092dfed397889db0241193ae441cdf59115
tree51b890f13fa4d965982a3ed1d4a83e09f191314d
parent8dea58843c2fd633c1b9eaf53a19e9294a59aed9
mon: remove racy tests from osd-pool-create.sh

Use the admin socket to create the conditions by which a pool creation
is made to wait for the next paxos proposal because the required crush
ruleset is pending.

It replaces a fragile time sensitive workaround that could fail because
of race conditions. It also has the benefit of increase the speed of the
test because there is no need to wait for a long time just to accomodate
the slowest machines.

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