Unverified Commit 79fe450e authored by Binbin's avatar Binbin Committed by GitHub
Browse files

Regenerate payloads for cgroups tests using string2printable (#11560)

The test failed with ERR DUMP payload version or checksum are wrong.
And it only fails on CentOS, this is due to the fact that tcl8.5 does not correctly
parse the hexadecimal abbreviation. And in Ubuntu we are using tcl8.6.
parent 68e87eb0
...@@ -1006,7 +1006,7 @@ start_server { ...@@ -1006,7 +1006,7 @@ start_server {
r XDEL x 3-0 r XDEL x 3-0
r XGROUP CREATE x g1 0 r XGROUP CREATE x g1 0
r XGROUP CREATE x g2 0 r XGROUP CREATE x g2 0
set reply [r XINFO STREAM x FULL] set reply [r XINFO STREAM x FULL]
set group [lindex [dict get $reply groups] 0] set group [lindex [dict get $reply groups] 0]
assert_equal [dict get $group entries-read] {} assert_equal [dict get $group entries-read] {}
...@@ -1041,7 +1041,7 @@ start_server { ...@@ -1041,7 +1041,7 @@ start_server {
set group [lindex [dict get $reply groups] 0] set group [lindex [dict get $reply groups] 0]
assert_equal [dict get $group entries-read] 5 assert_equal [dict get $group entries-read] 5
assert_equal [dict get $group lag] 1 assert_equal [dict get $group lag] 1
r XTRIM x MINID = 3-0 r XTRIM x MINID = 3-0
set reply [r XINFO STREAM x FULL] set reply [r XINFO STREAM x FULL]
set group [lindex [dict get $reply groups] 0] set group [lindex [dict get $reply groups] 0]
...@@ -1096,8 +1096,7 @@ start_server { ...@@ -1096,8 +1096,7 @@ start_server {
# XREADGROUP GROUP g Alice STREAMS x > # XREADGROUP GROUP g Alice STREAMS x >
r DEL x r DEL x
r RESTORE x 0 "\x13\x01\x10\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x1d\x1d\x00\x00\x00\n\x00\x01\x01\x00\x01\x01\x01\x81f\x02\x00\x01\x02\x01\x00\x01\x00\x01\x81v\x02\x04\x01\xff\x01\x01\x01\x01\x01\x00\x00\x01\x01\x01g\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\xf5Zq\xc7\x84\x01\x00\x00\x01\x01\x05Alice\xf5Zq\xc7\x84\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\xcev\xa9\xd6\xda`r\x12" r RESTORE x 0 "\x13\x01\x10\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x1D\x1D\x00\x00\x00\x0A\x00\x01\x01\x00\x01\x01\x01\x81\x66\x02\x00\x01\x02\x01\x00\x01\x00\x01\x81\x76\x02\x04\x01\xFF\x01\x01\x01\x01\x01\x00\x00\x01\x01\x01\x67\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\xF5\x5A\x71\xC7\x84\x01\x00\x00\x01\x01\x05\x41\x6C\x69\x63\x65\xF5\x5A\x71\xC7\x84\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x0B\x00\xA7\xA9\x14\xA5\x27\xFF\x9B\x9B"
set reply [r XINFO STREAM x FULL] set reply [r XINFO STREAM x FULL]
set group [lindex [dict get $reply groups] 0] set group [lindex [dict get $reply groups] 0]
set consumer [lindex [dict get $group consumers] 0] set consumer [lindex [dict get $group consumers] 0]
......
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