summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-04-24 18:21:12 +0200
committerantirez <antirez@gmail.com>2014-04-28 18:17:02 +0200
commiteeab60d1d5a3108a33be38c0d6f152b2ddaf96e0 (patch)
tree2c5cfd921c78b130b96f60b7929e9ee07694691f
parentcdd2bd563293ea339cb5a4181a3e97030f0064b3 (diff)
downloadredis-eeab60d1d5a3108a33be38c0d6f152b2ddaf96e0.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 a17892d30..ff3f00ab5 100644
--- a/tests/unit/scripting.tcl
+++ b/tests/unit/scripting.tcl
@@ -326,6 +326,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"
}