mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
qa: use bluestore for cephfs cephtool tests
This lets the tests enable ec overwrites Signed-off-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
parent
4a7c058183
commit
f52b9d19f2
@ -18,7 +18,7 @@
|
||||
source $(dirname $0)/detect-build-env-vars.sh
|
||||
|
||||
CEPH_CLI_TEST_DUP_COMMAND=1 \
|
||||
MDS=1 MON=1 OSD=3 MGR=0 CEPH_PORT=7200 $CEPH_ROOT/src/test/vstart_wrapper.sh \
|
||||
MDS=1 MON=1 OSD=3 MGR=0 CEPH_PORT=7200 CEPH_OBJECTSTORE="bluestore" $CEPH_ROOT/src/test/vstart_wrapper.sh \
|
||||
$CEPH_ROOT/qa/workunits/cephtool/test.sh \
|
||||
--test-mds \
|
||||
--asok-does-not-need-root
|
||||
|
@ -30,8 +30,13 @@ function vstart_setup()
|
||||
trap "teardown $CEPH_DIR" EXIT
|
||||
export LC_ALL=C # some tests are vulnerable to i18n
|
||||
export PATH="$(pwd):${PATH}"
|
||||
OBJSTORE_ARGS=""
|
||||
if [ "bluestore" = "${CEPH_OBJECTSTORE}" ]; then
|
||||
OBJSTORE_ARGS="-b"
|
||||
fi
|
||||
$CEPH_ROOT/src/vstart.sh \
|
||||
--short \
|
||||
$OBJSTORE_ARGS \
|
||||
-o 'paxos propose interval = 0.01' \
|
||||
-n -l || return 1
|
||||
export CEPH_CONF=$CEPH_DIR/ceph.conf
|
||||
|
Loading…
Reference in New Issue
Block a user