summaryrefslogtreecommitdiff
path: root/tests/unit/expire.tcl
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-06-03 00:26:39 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-06-03 00:26:39 +0200
commitafbf59145aa50d50631c860b73374a0438708b1f (patch)
tree21ab8d64427851c756cc9ef9aa256615752ce849 /tests/unit/expire.tcl
parentf6fa411d6cffd59155f8afbacad8c17db74d100d (diff)
downloadredis-afbf59145aa50d50631c860b73374a0438708b1f.tar.gz
tag test with sleep() as slow
Diffstat (limited to 'tests/unit/expire.tcl')
-rw-r--r--tests/unit/expire.tcl10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/unit/expire.tcl b/tests/unit/expire.tcl
index d65df2f82..b80975b6e 100644
--- a/tests/unit/expire.tcl
+++ b/tests/unit/expire.tcl
@@ -48,10 +48,12 @@ start_server {tags {"expire"}} {
r get y
} {foo}
- test {SETEX - Wait for the key to expire} {
- after 3000
- r get y
- } {}
+ tags {"slow"} {
+ test {SETEX - Wait for the key to expire} {
+ after 3000
+ r get y
+ } {}
+ }
test {SETEX - Wrong time parameter} {
catch {r setex z -10 foo} e