Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8444b46d
Commit
8444b46d
authored
Dec 19, 2016
by
antirez
Browse files
Fix test "server is up" detection after logging changes.
parent
074383f8
Changes
2
Show whitespace changes
Inline
Side-by-side
tests/assets/default.conf
View file @
8444b46d
# Redis configuration for testing.
# Redis configuration for testing.
always
-
show
-
logo
yes
notify
-
keyspace
-
events
KEA
notify
-
keyspace
-
events
KEA
daemonize
no
daemonize
no
pidfile
/
var
/
run
/
redis
.
pid
pidfile
/
var
/
run
/
redis
.
pid
...
...
tests/support/server.tcl
View file @
8444b46d
...
@@ -278,7 +278,7 @@ proc start_server {options {code undefined}} {
...
@@ -278,7 +278,7 @@ proc start_server {options {code undefined}} {
while 1
{
while 1
{
# check that the server actually started and is ready for connections
# check that the server actually started and is ready for connections
if
{[
exec grep
"r
eady to accept"
| wc -l < $stdout
]
> 0
}
{
if
{[
exec grep
-i
"R
eady to accept"
| wc -l < $stdout
]
> 0
}
{
break
break
}
}
after 10
after 10
...
...
Write
Preview
Markdown
is supported
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