Fix test "server is up" detection after logging changes.

This commit is contained in:
antirez 2016-12-19 16:49:58 +01:00
parent 074383f850
commit 8444b46d20
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Redis configuration for testing.
always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/redis.pid

View File

@ -278,7 +278,7 @@ proc start_server {options {code undefined}} {
while 1 {
# 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
}
after 10