Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
8ef0dca3
Commit
8ef0dca3
authored
Jan 28, 2009
by
Quanah Gibson-Mount
Browse files
Fix creeping sleeps
parent
30660e65
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test017-syncreplication-refresh
View file @
8ef0dca3
...
@@ -212,8 +212,8 @@ if test $RC != 0 ; then
...
@@ -212,8 +212,8 @@ if test $RC != 0 ; then
exit
$RC
exit
$RC
fi
fi
echo
"Waiting
$SLEEP
1
seconds for syncrepl to receive changes..."
echo
"Waiting 1
5
seconds for syncrepl to receive changes..."
sleep
$SLEEP
1
sleep
1
5
echo
"Performing modrdn alone on the producer..."
echo
"Performing modrdn alone on the producer..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
...
@@ -232,8 +232,8 @@ if test $RC != 0 ; then
...
@@ -232,8 +232,8 @@ if test $RC != 0 ; then
exit
$RC
exit
$RC
fi
fi
echo
"Waiting
$SLEEP
1
seconds for syncrepl to receive changes..."
echo
"Waiting 1
5
seconds for syncrepl to receive changes..."
sleep
$SLEEP
1
sleep
1
5
echo
"Performing modify alone on the producer..."
echo
"Performing modify alone on the producer..."
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-h
$LOCALHOST
-p
$PORT1
-w
$PASSWD
>
\
...
...
tests/scripts/test018-syncreplication-persist
View file @
8ef0dca3
...
@@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do
...
@@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do
sleep
5
sleep
5
done
done
echo
"Waiting
$SLEEP
1
seconds for consumer to reconnect..."
echo
"Waiting 1
5
seconds for consumer to reconnect..."
sleep
$SLEEP
1
sleep
1
5
if
test
$RC
!=
0
;
then
if
test
$RC
!=
0
;
then
echo
"ldapsearch failed (
$RC
)!"
echo
"ldapsearch failed (
$RC
)!"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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