]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/mon/*: prime mon with initial command before injection
authorSage Weil <sage@redhat.com>
Thu, 28 Aug 2014 17:59:18 +0000 (10:59 -0700)
committerSage Weil <sage@redhat.com>
Thu, 28 Aug 2014 17:59:18 +0000 (10:59 -0700)
commite440fb496caa08737de34fbe1506bc7db9061945
tree902d225651830e40b3c3d6d645092d46b71f1607
parentbb119360ac5a63c30e6fc0874c333bbefb8f19e7
test/mon/*: prime mon with initial command before injection

The osdmonitor_prepare_command is very fragile.  Send an initial command
to the mon beforehand.  This seems to prevent the initial command from
getting combined into an early mon proposal with some other stuff.

Alternatively, we could remove these tests and this mechanism entirely as
it is likely to great in the future when the next set of mon changes are
made, but they have shown themselves to be useful it catching other
regressions, so we'll patch them up for a bit longer.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/mon/osd-crush.sh
src/test/mon/osd-erasure-code-profile.sh
src/test/mon/osd-pool-create.sh