]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cephtool-test-mon: make ec test less sensitive to crush
authorSage Weil <sage@redhat.com>
Fri, 19 May 2017 03:33:36 +0000 (23:33 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:47 +0000 (13:02 -0400)
With only 3 we can get into a situation where one slot is CRUSH_ITEM_NONE.

Signed-off-by: Sage Weil <sage@redhat.com>
src/test/cephtool-test-mon.sh

index e4b082029791adf8db47eded7c8cc554b4626b10..856e73f89084f7e45d0a63ef736e2c1d3cfcb47f 100755 (executable)
@@ -20,7 +20,7 @@ source $(dirname $0)/detect-build-env-vars.sh
 CEPH_CLI_TEST_DUP_COMMAND=1 \
 # uses CEPH_PORT going from 7202 7203 and 7204 because
 # it starts at 7202 and runs 3 mons (see vstart.sh)
-MON=3 OSD=3 MDS=0 MGR=1 CEPH_PORT=7202 $CEPH_ROOT/src/test/vstart_wrapper.sh \
+MON=3 OSD=4 MDS=0 MGR=1 CEPH_PORT=7202 $CEPH_ROOT/src/test/vstart_wrapper.sh \
     $CEPH_ROOT/qa/workunits/cephtool/test.sh \
     --test-mon \
     --asok-does-not-need-root