diff options
author | antirez <antirez@gmail.com> | 2013-03-27 11:30:23 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-03-27 11:57:28 +0100 |
commit | 26319d08b5f0b1d100db96beb999cdcf738f4f51 (patch) | |
tree | 855b8288e5853fdc0812cec29271e7371016afd5 | |
parent | fc78d978de57aadc5e2fceb22f8de209424bb59f (diff) | |
download | redis-26319d08b5f0b1d100db96beb999cdcf738f4f51.tar.gz |
Test: Restore DB back to 9 after testing MULTI/EXEC with DB 5.
-rw-r--r-- | tests/unit/multi.tcl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/multi.tcl b/tests/unit/multi.tcl index f7a1f6468..798f589b0 100644 --- a/tests/unit/multi.tcl +++ b/tests/unit/multi.tcl @@ -205,7 +205,10 @@ start_server {tags {"multi"}} { r select 5 r multi r ping - r exec + set res [r exec] + # Restore original DB + r select 9 + set res } {PONG} test {WATCH will consider touched keys target of EXPIRE} { |