From: antirez Date: Wed, 7 Dec 2011 16:51:21 +0000 (+0100) Subject: Redis test: wait more time for the server to start if it is running using valgrind. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/b1d08d45401abd0a1c0321b26137d701b1c319e2 Redis test: wait more time for the server to start if it is running using valgrind. --- diff --git a/tests/support/server.tcl b/tests/support/server.tcl index f1849ef4..948b5356 100644 --- a/tests/support/server.tcl +++ b/tests/support/server.tcl @@ -183,7 +183,7 @@ proc start_server {options {code undefined}} { # check that the server actually started # ugly but tries to be as fast as possible... - set retrynum 100 + if {$::valgrind} {set retrynum 1000} else {set retrynum 100} set serverisup 0 if {$::verbose} {