multi.tcl: reset readraw at the end of the test (#12123)
1. reset the readraw mode after a test that uses it. undetected since the only test after that on the same server didn't read any replies. 2. fix a cross slot issue that was undetected in cluster mode because readraw doesn't throw exceptions on errors.
This commit is contained in:
parent
fbbedcf593
commit
857c09b04d
@ -891,14 +891,14 @@ start_server {tags {"multi"}} {
|
||||
set res [r read]
|
||||
assert_equal $res "+OK"
|
||||
set res [r read]
|
||||
r readraw 1
|
||||
r readraw 0
|
||||
set _ $res
|
||||
} {*CONFIG SET failed*}
|
||||
|
||||
test "Flushall while watching several keys by one client" {
|
||||
r flushall
|
||||
r mset a a b b
|
||||
r watch b a
|
||||
r mset a{t} a b{t} b
|
||||
r watch b{t} a{t}
|
||||
r flushall
|
||||
r ping
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user