tests: Local daemons should use the logging ringbuffer
authorMartin Schwenke <martin@meltin.net>
Thu, 18 Oct 2012 03:15:09 +0000 (14:15 +1100)
committerMartin Schwenke <martin@meltin.net>
Mon, 22 Oct 2012 01:47:04 +0000 (12:47 +1100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 7547e011005f0dd5bd38e67572280126cf16e229)

ctdb/tests/scripts/integration.bash

index 8b268b1aa00662ea094db695b1dc7f55a74dc885..38420bacee2d83bc1808c9a3f0a2c25328e20d97 100644 (file)
@@ -575,7 +575,7 @@ daemons_start_1 ()
     fi
 
     local node_ip=$(sed -n -e "$(($pnn + 1))p" "$CTDB_NODES")
-    local ctdb_options="--reclock=${TEST_VAR_DIR}/rec.lock --nlist $CTDB_NODES --nopublicipcheck --node-ip=${node_ip} --event-script-dir=${TEST_VAR_DIR}/events.d --logfile=${TEST_VAR_DIR}/daemon.${pnn}.log -d 3 --dbdir=${TEST_VAR_DIR}/test.db --dbdir-persistent=${TEST_VAR_DIR}/test.db/persistent --dbdir-state=${TEST_VAR_DIR}/test.db/state"
+    local ctdb_options="--reclock=${TEST_VAR_DIR}/rec.lock --nlist $CTDB_NODES --nopublicipcheck --node-ip=${node_ip} --event-script-dir=${TEST_VAR_DIR}/events.d --logfile=${TEST_VAR_DIR}/daemon.${pnn}.log -d 3 --log-ringbuf-size=10000 --dbdir=${TEST_VAR_DIR}/test.db --dbdir-persistent=${TEST_VAR_DIR}/test.db/persistent --dbdir-state=${TEST_VAR_DIR}/test.db/state"
 
     if [ -n "$TEST_LOCAL_DAEMONS" ] ; then
         ctdb_options="$ctdb_options --public-interface=lo"