From 736e797983d8fa5bd7467a1d47bd137290abb478 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 28 Sep 2006 17:08:17 +0000 Subject: r18979: With these extra indexes (also added for the normal case) and a DB_CONFIG file, we now get reasonable enought performance to pass 'make test' against OpenLDAP. We do have to double the maximum runtime for the torture client however. Andrew Bartlett (This used to be commit 5b3c8cc036c1180c9e96d9aaacd3f2e0a83460e5) --- source4/script/tests/mktestsetup.sh | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) (limited to 'source4/script/tests/mktestsetup.sh') diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh index b1db8d2494..2d3422efc5 100755 --- a/source4/script/tests/mktestsetup.sh +++ b/source4/script/tests/mktestsetup.sh @@ -71,7 +71,7 @@ export SERVER export NETBIOSNAME rm -rf $PREFIX/* -mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR $LDAPDIR/db +mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR $LDAPDIR/db $LDAPDIR/db/bdb-logs $LDAPDIR/db/tmp if [ -z "$VALGRIND" ]; then nativeiconv="true" @@ -339,9 +339,11 @@ index uidNumber eq index gidNumber eq index unixName eq index privilege eq -index nCName eq +index nCName eq pres index lDAPDisplayName eq index subClassOf eq +index dnsRoot eq +index nETBIOSName eq pres overlay syncprov syncprov-checkpoint 100 10 @@ -349,6 +351,33 @@ syncprov-sessionlog 100 EOF +cat > $LDAPDIR/db/DB_CONFIG <