mirror of
https://github.com/fluencelabs/redis
synced 2025-04-29 20:42:13 +00:00
Make an EXEC test more latency proof.
This commit is contained in:
parent
3b71404d70
commit
e34c14df1a
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user