Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Lowden
OpenLDAP
Commits
905ff233
Commit
905ff233
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5470 revert prev commit, use 3 second timeouts
parent
344f3f65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/scripts/test050-syncrepl-multimaster
+17
-17
17 additions, 17 deletions
tests/scripts/test050-syncrepl-multimaster
with
17 additions
and
17 deletions
tests/scripts/test050-syncrepl-multimaster
+
17
−
17
View file @
905ff233
...
...
@@ -131,11 +131,11 @@ EOF
fi
fi
#
# Note that we
used to
configure a timeout here; it
wa
s possible for
#
the
servers to attempt to bind to each other while a modify to
# cn=config is in progress. When the modify pause
d
the thread pool
# neither server w
would
progress. The timeout
should no longer be
#
needed since the pool pause code was adjus
te
d
.
# Note that we configure a timeout here; it
'
s possible for
both
# servers to attempt to bind to each other while a modify to
# cn=config is in progress. When the modify pause
s
the thread pool
# neither server w
ill
progress. The timeout
will drop the syncrepl
#
attempt and allow the modifies to comple
te.
#
read
CONFIGPW <
$CONFIGPWF
$LDAPMODIFY
-D
cn
=
config
-H
$URI1
-y
$CONFIGPWF
<<
EOF
>>
$TESTOUT
2>&1
...
...
@@ -157,13 +157,13 @@ changetype: modify
add: olcSyncRepl
olcSyncRepl: rid=001 provider=
$URI1
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5" timeout=
1
retry="5 5 300 5" timeout=
3
olcSyncRepl: rid=002 provider=
$URI2
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5" timeout=
1
retry="5 5 300 5" timeout=
3
olcSyncRepl: rid=003 provider=
$URI3
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5" timeout=
1
retry="5 5 300 5" timeout=
3
-
add: olcMirrorMode
olcMirrorMode: TRUE
...
...
@@ -213,13 +213,13 @@ changetype: modify
add: olcSyncRepl
olcSyncRepl: rid=001 provider=
$URI1
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=002 provider=
$URI2
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=003 provider=
$URI3
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
-
add: olcMirrorMode
olcMirrorMode: TRUE
...
...
@@ -263,13 +263,13 @@ changetype: modify
add: olcSyncRepl
olcSyncRepl: rid=001 provider=
$URI1
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=002 provider=
$URI2
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=003 provider=
$URI3
binddn="cn=config" bindmethod=simple
credentials=
$CONFIGPW
searchbase="cn=config" type=refreshAndPersist
retry="5 5 300 5"
retry="5 5 300 5"
timeout=3
-
add: olcMirrorMode
olcMirrorMode: TRUE
...
...
@@ -321,13 +321,13 @@ olcRootDN: $MANAGERDN
olcRootPW:
$PASSWD
olcSyncRepl: rid=004 provider=
$URI1
binddn="
$MANAGERDN
" bindmethod=simple
credentials=
$PASSWD
searchbase="
$BASEDN
" type=refreshOnly
interval=00:00:00:10 retry="5 5 300 5"
interval=00:00:00:10 retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=005 provider=
$URI2
binddn="
$MANAGERDN
" bindmethod=simple
credentials=
$PASSWD
searchbase="
$BASEDN
" type=refreshOnly
interval=00:00:00:10 retry="5 5 300 5"
interval=00:00:00:10 retry="5 5 300 5"
timeout=3
olcSyncRepl: rid=006 provider=
$URI3
binddn="
$MANAGERDN
" bindmethod=simple
credentials=
$PASSWD
searchbase="
$BASEDN
" type=refreshOnly
interval=00:00:00:10 retry="5 5 300 5"
interval=00:00:00:10 retry="5 5 300 5"
timeout=3
olcMirrorMode: TRUE
dn: olcOverlay=syncprov,olcDatabase={1}
${
BACKEND
}
,cn=config
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment