svn commit: samba r8071 - in branches/SAMBA_4_0/source/lib/ldb/tests: .

tridge at samba.org tridge at samba.org
Sat Jul 2 06:32:07 GMT 2005


Author: tridge
Date: 2005-07-02 06:32:06 +0000 (Sat, 02 Jul 2005)
New Revision: 8071

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8071

Log:
reduce the size of the default ldb tests. We run on some pretty low powered machines
in the farm, and don't want to chew too much cpu needlessly.

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh	2005-07-02 05:22:12 UTC (rev 8070)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-generic.sh	2005-07-02 06:32:06 UTC (rev 8071)
@@ -20,7 +20,7 @@
 $VALGRIND ldbsearch '(uid=uham)' || exit 1
 
 echo "Starting ldbtest"
-time $VALGRIND ldbtest --num-records 1000 --num-searches 10  || exit 1
+time $VALGRIND ldbtest --num-records 100 --num-searches 10  || exit 1
 
 echo "Adding index"
 $VALGRIND ldbadd $LDBDIR/tests/test-index.ldif  || exit 1
@@ -46,7 +46,7 @@
 $VALGRIND ldbsearch -b 'cn=Hampster Ursula,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST' -s base "" sn || exit 1
 
 echo "Starting ldbtest indexed"
-time $VALGRIND ldbtest --num-records 1000 --num-searches 5000  || exit 1
+time $VALGRIND ldbtest --num-records 100 --num-searches 500  || exit 1
 
 echo "Testing one level search"
 count=`$VALGRIND ldbsearch -b 'ou=Groups,o=University of Michigan,c=TEST' -s one 'objectclass=*' none |grep ^dn | wc -l`



More information about the samba-cvs mailing list