From 6da69382f74d78e3c031ab2cd725e898bf463a5a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 10 Apr 1999 01:40:33 +0000 Subject: [PATCH] Use 'cachesize 0' for repl and acl tests. Remove disable write sync (dbcachenowsync) in master (for concurrency test). --- tests/data/slapd-acl.conf | 1 + tests/data/slapd-bdb2-acl.conf | 1 + tests/data/slapd-bdb2-master.conf | 1 - tests/data/slapd-bdb2-repl-master.conf | 1 + tests/data/slapd-bdb2-repl-slave.conf | 1 + tests/data/slapd-master.conf | 2 +- tests/data/slapd-repl-master.conf | 1 + tests/data/slapd-repl-slave.conf | 2 +- 8 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/data/slapd-acl.conf b/tests/data/slapd-acl.conf index 80dd2b6594..8b40c713ab 100644 --- a/tests/data/slapd-acl.conf +++ b/tests/data/slapd-acl.conf @@ -12,6 +12,7 @@ argsfile ./test-db/slapd.args ####################################################################### database ldbm +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-bdb2-acl.conf b/tests/data/slapd-bdb2-acl.conf index 31a47805e3..8560ffb347 100644 --- a/tests/data/slapd-bdb2-acl.conf +++ b/tests/data/slapd-bdb2-acl.conf @@ -15,6 +15,7 @@ backend bdb2 home ./test-db database bdb2 +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-bdb2-master.conf b/tests/data/slapd-bdb2-master.conf index 374f7881ec..3780491b86 100644 --- a/tests/data/slapd-bdb2-master.conf +++ b/tests/data/slapd-bdb2-master.conf @@ -16,7 +16,6 @@ home ./test-db mpoolsize 21000000 database bdb2 -cachesize 4 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-bdb2-repl-master.conf b/tests/data/slapd-bdb2-repl-master.conf index a212901936..3fca276902 100644 --- a/tests/data/slapd-bdb2-repl-master.conf +++ b/tests/data/slapd-bdb2-repl-master.conf @@ -15,6 +15,7 @@ backend bdb2 home ./test-db database bdb2 +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-bdb2-repl-slave.conf b/tests/data/slapd-bdb2-repl-slave.conf index fee7374541..3782b628af 100644 --- a/tests/data/slapd-bdb2-repl-slave.conf +++ b/tests/data/slapd-bdb2-repl-slave.conf @@ -15,6 +15,7 @@ backend bdb2 home ./test-repl database bdb2 +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-repl rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-master.conf b/tests/data/slapd-master.conf index 8d642c56d4..418ed5e7c4 100644 --- a/tests/data/slapd-master.conf +++ b/tests/data/slapd-master.conf @@ -12,7 +12,6 @@ argsfile ./test-db/slapd.args ####################################################################### database ldbm -cachesize 4 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" @@ -20,3 +19,4 @@ rootpw secret index cn,sn,uid pres,eq,approx index default none lastmod on +dbcachenowsync diff --git a/tests/data/slapd-repl-master.conf b/tests/data/slapd-repl-master.conf index b238635381..c3e1657285 100644 --- a/tests/data/slapd-repl-master.conf +++ b/tests/data/slapd-repl-master.conf @@ -12,6 +12,7 @@ argsfile ./test-db/slapd.args ####################################################################### database ldbm +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-db rootdn "cn=Manager, o=University of Michigan, c=US" diff --git a/tests/data/slapd-repl-slave.conf b/tests/data/slapd-repl-slave.conf index bec200a0f2..886a987edb 100644 --- a/tests/data/slapd-repl-slave.conf +++ b/tests/data/slapd-repl-slave.conf @@ -12,6 +12,7 @@ argsfile ./test-repl/slapd.args ####################################################################### database ldbm +cachesize 0 suffix "o=University of Michigan, c=US" directory ./test-repl rootdn "cn=Manager, o=University of Michigan, c=US" @@ -21,4 +22,3 @@ index cn,sn,uid pres,eq,approx index default none # index default pres,eq,approx lastmod on -dbcachenowsync -- 2.39.5