Fix test "server is up" detection after logging changes.
This commit is contained in:
parent
b0e69fb156
commit
435160dcae
@ -1,5 +1,6 @@
|
|||||||
# 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
|
||||||
|
@ -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 "ready to accept" | wc -l < $stdout] > 0} {
|
if {[exec grep -i "Ready to accept" | wc -l < $stdout] > 0} {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
after 10
|
after 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user