From 2521442d03b63b76eff8114490257748ab7bef60 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 29 Aug 2010 02:54:50 +0000 Subject: [PATCH] allow to customize the number of children; use swamp --- tests/scripts/test036-meta-concurrency | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/scripts/test036-meta-concurrency b/tests/scripts/test036-meta-concurrency index 339e1e03f5..413f191228 100755 --- a/tests/scripts/test036-meta-concurrency +++ b/tests/scripts/test036-meta-concurrency @@ -32,6 +32,10 @@ if test x$TESTLOOPS = x ; then TESTLOOPS=50 fi +if test x$TESTCHILDREN = x ; then + TESTCHILDREN=20 +fi + rm -rf $TESTDIR mkdir -p $TESTDIR $DBDIR1 $DBDIR2 @@ -195,8 +199,8 @@ $MONITORDATA "$MONITORDB" "$TESTDIR/$DATADIR" "$TESTDIR" echo "Using tester for concurrent server access..." $SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR" -h $LOCALHOST -p $PORT3 \ - -D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -r 20 \ - -i '!REFERRAL' -i '*INVALID_CREDENTIALS' + -D "cn=Manager,$METABASEDN" -w $PASSWD -l $TESTLOOPS -j $TESTCHILDREN \ + -r 20 -i '!REFERRAL' -i '*INVALID_CREDENTIALS' -SS RC=$? if test $RC != 0 ; then -- 2.39.5