Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
afbf5914
Commit
afbf5914
authored
Jun 03, 2010
by
Pieter Noordhuis
Browse files
tag test with sleep() as slow
parent
f6fa411d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/expire.tcl
View file @
afbf5914
...
@@ -48,10 +48,12 @@ start_server {tags {"expire"}} {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment