summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-04-24 18:21:12 +0200
committerantirez <antirez@gmail.com>2014-05-22 15:46:06 +0200
commit1a14eba2d50a494923531273fc1da63093689702 (patch)
treed2c3960775c3d6dc20680d528bd858476906e25b
parentf4823497074eaa3b567e38313d6e85c9cf9ece9f (diff)
downloadredis-1a14eba2d50a494923531273fc1da63093689702.tar.gz
Test: fixed scripting.tcl test false positive.
-rw-r--r--tests/unit/scripting.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl
index db44ff7bb..922177eff 100644
--- a/tests/unit/scripting.tcl
+++ b/tests/unit/scripting.tcl
@@ -352,6 +352,7 @@ start_server {tags {"scripting"}} {
catch {r ping} e
assert_match {BUSY*} $e
r script kill
+ after 200 ; # Give some time to Lua to call the hook again...
assert_equal [r ping] "PONG"
}