From: antirez Date: Fri, 15 Jul 2011 16:28:24 +0000 (+0200) Subject: make a scripting test more valgrind friendly X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/d50292d2cc255a85cd5a8f7f34d2411206a1d449 make a scripting test more valgrind friendly --- diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl index 1735b264..15ea0d5a 100644 --- a/tests/unit/scripting.tcl +++ b/tests/unit/scripting.tcl @@ -141,7 +141,7 @@ start_server {tags {"scripting repl"}} { r evalsha ae3477e27be955de7e1bc9adfdca626b478d3cb2 0 } {2} - after 100 + if {$::valgrind} {after 2000} else {after 100} test {If EVALSHA was replicated as EVAL the slave should be ok} { r -1 get x