From 857c09b04d7be1b016956e55a9f7b8118585c59b Mon Sep 17 00:00:00 2001 From: guybe7 Date: Thu, 4 May 2023 10:58:31 +0200 Subject: 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. --- tests/unit/multi.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/unit/multi.tcl b/tests/unit/multi.tcl index bdf398150..851e02247 100644 --- a/tests/unit/multi.tcl +++ b/tests/unit/multi.tcl @@ -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 } -- cgit v1.2.1