]> git.sur5r.net Git - openldap/commitdiff
allow to customize the number of children; use swamp
authorPierangelo Masarati <ando@openldap.org>
Sun, 29 Aug 2010 02:54:50 +0000 (02:54 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 29 Aug 2010 02:54:50 +0000 (02:54 +0000)
tests/scripts/test036-meta-concurrency

index 339e1e03f5a525f85ad2f3ebbaf148827f055120..413f19122897c8d7fa3d3a55e7134d4576b461cf 100755 (executable)
@@ -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