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
139aa12e
Commit
139aa12e
authored
19 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
A few more waits
parent
604f7fb9
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/test045-syncreplication-proxied
+7
-9
7 additions, 9 deletions
tests/scripts/test045-syncreplication-proxied
with
7 additions
and
9 deletions
tests/scripts/test045-syncreplication-proxied
+
7
−
9
View file @
139aa12e
...
...
@@ -217,6 +217,7 @@ fi
SLEEP
=
10
echo
"Stopping the provider, sleeping
$SLEEP
seconds and restarting it..."
kill
-HUP
"
$MASTERPID
"
wait
$MASTERPID
sleep
$SLEEP
echo
"======================= RESTART ======================="
>>
$LOG1
...
...
@@ -376,10 +377,9 @@ if test $? != 0 ; then
exit
1
fi
SLEEP
=
10
echo
"Stopping proxy to test recovery; sleep for
$SLEEP
seconds..."
echo
"Stopping proxy to test recovery..."
kill
-HUP
$PROXYPID
sleep
$SLEEP
wait
$PROXYPID
echo
"Modifying more entries on the master..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>>
\
...
...
@@ -517,10 +517,9 @@ EOMODS
fi
fi
SLEEP
=
10
echo
"Stopping consumer to test recovery; wait
$SLEEP
seconds..."
echo
"Stopping consumer to test recovery..."
kill
-HUP
$SLAVEPID
sleep
$SLEEP
wait
$SLAVEPID
echo
"Modifying more entries on the master..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>>
\
...
...
@@ -583,10 +582,9 @@ if test $? != 0 ; then
#test $KILLSERVERS != no && kill -HUP $KILLPIDS
#exit 1
SLEEP
=
10
echo
" Stopping proxy to see if it auto-recovers; sleep for
$SLEEP
seconds..."
echo
" Stopping proxy to see if it auto-recovers..."
kill
-HUP
$PROXYPID
sleep
$SLEEP
wait
$PROXYPID
echo
" Restarting proxy..."
echo
"======================= RESTART ======================="
>>
$LOG3
...
...
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