From: Loic Dachary Date: Mon, 2 May 2016 08:42:24 +0000 (+0200) Subject: tests: enable make check on ext4 (part 2) X-Git-Tag: v11.0.0~771^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b0b3a068d4fcc7b739c5dd3d68297e2d517c378e;p=ceph.git tests: enable make check on ext4 (part 2) Followup of 475cc08c330e639b226f2ab57dedbe4495f63022 Signed-off-by: Loic Dachary --- diff --git a/src/ceph-disk/tests/ceph-disk.sh b/src/ceph-disk/tests/ceph-disk.sh index b507a593039..ce355713ea9 100644 --- a/src/ceph-disk/tests/ceph-disk.sh +++ b/src/ceph-disk/tests/ceph-disk.sh @@ -64,6 +64,8 @@ CEPH_ARGS+=" --debug-mon=20" CEPH_ARGS+=" --debug-osd=20" CEPH_ARGS+=" --debug-bdev=20" CEPH_ARGS+=" --debug-bluestore=20" +CEPH_ARGS+=" --osd-max-object-name-len=460" +CEPH_ARGS+=" --osd-max-object-namespace-len=64" CEPH_DISK_ARGS= CEPH_DISK_ARGS+=" --statedir=$DIR" CEPH_DISK_ARGS+=" --sysconfdir=$DIR" diff --git a/src/test/ceph_objectstore_tool.py b/src/test/ceph_objectstore_tool.py index 91804751465..ed79286d657 100755 --- a/src/test/ceph_objectstore_tool.py +++ b/src/test/ceph_objectstore_tool.py @@ -139,7 +139,7 @@ def cat_file(level, filename): def vstart(new, opt=""): print "vstarting....", NEW = new and "-n" or "" - call("MON=1 OSD=4 CEPH_PORT=7400 {path}/src/vstart.sh -l {new} -d mon osd {opt} > /dev/null 2>&1".format(new=NEW, opt=opt, path=CEPH_ROOT), shell=True) + call("MON=1 OSD=4 CEPH_PORT=7400 {path}/src/vstart.sh --short -l {new} -d mon osd {opt} > /dev/null 2>&1".format(new=NEW, opt=opt, path=CEPH_ROOT), shell=True) print "DONE" diff --git a/src/test/vstart_wrapper.sh b/src/test/vstart_wrapper.sh index 4e54868b157..5c5a3501e92 100755 --- a/src/test/vstart_wrapper.sh +++ b/src/test/vstart_wrapper.sh @@ -31,6 +31,7 @@ function vstart_setup() export LC_ALL=C # some tests are vulnerable to i18n export PATH="$(pwd):${PATH}" $CEPH_ROOT/src/vstart.sh \ + --short \ -o 'paxos propose interval = 0.01' \ -n -l $CEPH_START || return 1 export CEPH_CONF=$CEPH_DIR/ceph.conf