tag test with sleep() as slow

This commit is contained in:
Pieter Noordhuis 2010-06-03 00:26:39 +02:00
parent f6fa411d6c
commit afbf59145a

View File

@ -48,10 +48,12 @@ start_server {tags {"expire"}} {
r get y r get y
} {foo} } {foo}
test {SETEX - Wait for the key to expire} { tags {"slow"} {
after 3000 test {SETEX - Wait for the key to expire} {
r get y after 3000
} {} r get y
} {}
}
test {SETEX - Wrong time parameter} { test {SETEX - Wrong time parameter} {
catch {r setex z -10 foo} e catch {r setex z -10 foo} e