summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-04-24 18:21:12 +0200
committerantirez <antirez@gmail.com>2014-04-24 21:44:32 +0200
commit93e7a130fc9594e41ccfc996b5eca7626ae5356a (patch)
tree3652ea5d92d1352be6d34e1b92613b858b965e36
parente29d3307244b899587e155571176fb209e26c4c6 (diff)
downloadredis-93e7a130fc9594e41ccfc996b5eca7626ae5356a.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"
}