Unverified Commit 857c09b0 authored by guybe7's avatar guybe7 Committed by GitHub
Browse files

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.
parent fbbedcf5
...@@ -891,14 +891,14 @@ start_server {tags {"multi"}} { ...@@ -891,14 +891,14 @@ start_server {tags {"multi"}} {
set res [r read] set res [r read]
assert_equal $res "+OK" assert_equal $res "+OK"
set res [r read] set res [r read]
r readraw 1 r readraw 0
set _ $res set _ $res
} {*CONFIG SET failed*} } {*CONFIG SET failed*}
test "Flushall while watching several keys by one client" { test "Flushall while watching several keys by one client" {
r flushall r flushall
r mset a a b b r mset a{t} a b{t} b
r watch b a r watch b{t} a{t}
r flushall r flushall
r ping r ping
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment