From: Loic Dachary Date: Sun, 2 Feb 2014 08:38:23 +0000 (+0100) Subject: unittests: reduce paxos propose interval to increase speed X-Git-Tag: v0.78~226^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5f9f300aa10e41b1d944e35a99916f368e2bb19b;p=ceph.git unittests: reduce paxos propose interval to increase speed The MONs are stressed more often and there is less aggregation of the pending requests. But the unit tests are only meant to verify that a known code path exists and performs as expected, therefore it will not make a difference. And if it does, it is a bug that needs fixing. Reviewed-By: Christophe Courtaut Signed-off-by: Loic Dachary --- diff --git a/src/test/vstart_wrapper.sh b/src/test/vstart_wrapper.sh index 42458564c78e..9f0a35527cdd 100755 --- a/src/test/vstart_wrapper.sh +++ b/src/test/vstart_wrapper.sh @@ -25,7 +25,9 @@ function vstart_setup() mkdir -p dev trap "vstart_teardown ; rm -f $TMPFILE" EXIT export LC_ALL=C # some tests are vulnerable to i18n - MON=1 OSD=3 ./vstart.sh -n -X -l mon osd || return 1 + MON=1 OSD=3 ./vstart.sh \ + -o 'paxos propose interval = 0.01' \ + -n -X -l mon osd || return 1 export PATH=.:$PATH export CEPH_CONF=ceph.conf