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:
guybe7 2023-05-04 10:58:31 +02:00 committed by GitHub
parent fbbedcf593
commit 857c09b04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}