From b1d08d45401abd0a1c0321b26137d701b1c319e2 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 7 Dec 2011 17:51:21 +0100 Subject: [PATCH] Redis test: wait more time for the server to start if it is running using valgrind. --- tests/support/server.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} { -- 2.45.2