Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ed709555
Commit
ed709555
authored
Nov 29, 2012
by
antirez
Browse files
Make an EXEC test more latency proof.
parent
b41f4e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/multi.tcl
View file @
ed709555
...
...
@@ -63,13 +63,13 @@ start_server {tags {"multi"}} {
r multi
r set foo1 bar1
$rd config set maxmemory 1
assert
{[
$rd
read
]
eq
{
OK
}}
catch
{
r lpush mylist myvalue
}
$rd config set maxmemory 0
assert
{[
$rd
read
]
eq
{
OK
}}
r set foo2 bar2
catch
{
r exec
}
e
assert_match
{
EXECABORT*
}
$e
assert
{[
$rd
read
]
eq
{
OK
}}
assert
{[
$rd
read
]
eq
{
OK
}}
$rd close
list
[
r exists foo1
]
[
r exists foo2
]
}
{
0 0
}
...
...
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