mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
fix timing issue for test086-delta-consumer
This commit is contained in:
parent
4c5a5a7588
commit
583db6209d
1 changed files with 14 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ fi
|
|||
# will also be a consumer for the real cn=schema,cn=config tree.
|
||||
# It has multi-provider enabled so that it can be written directly
|
||||
# while being a consumer of the main schema.
|
||||
echo "Configuring consumer config DB on provider..."
|
||||
echo "Configuring accesslog config DB on provider..."
|
||||
$LDAPMODIFY -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >> $TESTOUT 2>&1
|
||||
dn: cn=config
|
||||
changetype: modify
|
||||
|
|
@ -266,7 +266,20 @@ olcAccessLogDB: cn=consumer-accesslog
|
|||
olcAccessLogOps: writes
|
||||
olcAccessLogPurge: 07+00:00 01+00:00
|
||||
olcAccessLogSuccess: TRUE
|
||||
EOF
|
||||
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapmodify failed for consumer DB config ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Waiting 3 seconds for syncrepl to make root accesslog entry..."
|
||||
sleep 3
|
||||
|
||||
echo "Configuring consumer config DB on provider..."
|
||||
$LDAPMODIFY -D cn=config -H $URI1 -y $CONFIGPWF <<EOF >> $TESTOUT 2>&1
|
||||
dn: cn=config,cn=consumer
|
||||
changetype: add
|
||||
objectClass: olcGlobal
|
||||
|
|
|
|||
Loading…
Reference in a new issue