Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
583db620
Commit
583db620
authored
Aug 02, 2021
by
HAMANO Tsukasa
Committed by
Quanah Gibson-Mount
Aug 07, 2021
Browse files
fix timing issue for test086-delta-consumer
parent
4c5a5a75
Pipeline
#3169
failed with stage
in 122 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test086-delta-consumer-config
View file @
583db620
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment