From 8444b46d20ef9c8de3f7e255e4f3bfa44f509c77 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Dec 2016 16:49:58 +0100 Subject: [PATCH] Fix test "server is up" detection after logging changes. --- tests/assets/default.conf | 1 + tests/support/server.tcl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/assets/default.conf b/tests/assets/default.conf index 81f8470bc..d7b8a75c6 100644 --- a/tests/assets/default.conf +++ b/tests/assets/default.conf @@ -1,5 +1,6 @@ # Redis configuration for testing. +always-show-logo yes notify-keyspace-events KEA daemonize no pidfile /var/run/redis.pid diff --git a/tests/support/server.tcl b/tests/support/server.tcl index 19d6c5152..c36b30775 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -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