From 75883a2237f52863df2eff1fe9d9ee8408b40feb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Jul 2005 06:32:06 +0000 Subject: r8071: 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. (This used to be commit c03753faa46d52ae4606546b57962e10c41ea3ad) --- source4/lib/ldb/tests/test-generic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb/tests/test-generic.sh') diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index d3965fb176..db6377d078 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -20,7 +20,7 @@ echo "Showing renamed record" $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 '(objectclass=)' uid || exit 1 $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` -- cgit