mirror of https://mirror.osredm.com/root/redis.git
Fix test failure due to differing reply format of XREADGROUP under RESP3 in MULTI (#13255)
This test was introducted by #13251. Normally we auto transform the reply format of XREADGROUP to array under RESP3 (see trasformer_funcs). But when we execute XREADGROUP command in multi it can't work, which cause the new test failed. The solution is to verity the reply of XREADGROUP in advance rather than in MULTI. Failed validate schema CI: https://github.com/redis/redis/actions/runs/9025128323/job/24800285684 --------- Co-authored-by: guybe7 <guy.benoish@redislabs.com>
This commit is contained in:
parent
8a05f0092b
commit
ffbdf2f6f3
|
@ -1398,11 +1398,10 @@ start_server {
|
|||
$master del mystream
|
||||
$master xadd mystream 1-0 a b c d e f
|
||||
$master xgroup create mystream mygroup 0
|
||||
$master xreadgroup group mygroup ryan count 1 streams mystream >
|
||||
assert_equal [$master xreadgroup group mygroup ryan count 1 streams mystream >] {{mystream {{1-0 {a b c d e f}}}}}
|
||||
$master multi
|
||||
$master xreadgroup group mygroup ryan count 1 streams mystream 0
|
||||
set reply [$master exec]
|
||||
assert_equal $reply {{{mystream {{1-0 {a b c d e f}}}}}}
|
||||
$master exec
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue