tests: vstart_wrapper.sh must call vstart.sh with a list of daemons

The list of daemons is provided in the $CEPH_START environment variable
but vstart_wrapper.sh incorrectly uses the $VSTART_ARGS empty variable.

As a consequence vstart.sh calls init-ceph stop which kills daemons that
do not belong to the test.

http://tracker.ceph.com/issues/10215 Fixes: #10215

Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
Loic Dachary 2014-12-02 07:37:15 +01:00
parent 310a3f1c65
commit e3e5741581

View File

@ -29,7 +29,7 @@ function vstart_setup()
export LC_ALL=C # some tests are vulnerable to i18n
./vstart.sh \
-o 'paxos propose interval = 0.01' \
-n -l $VSTART_ARGS || return 1
-n -l $CEPH_START || return 1
export PATH=.:$PATH
export CEPH_CONF=$CEPH_DIR/ceph.conf