redis/tests/unit/type
Vitah Lin 5b5c32663b
Some checks are pending
CI / test-ubuntu-latest (push) Waiting to run
CI / test-sanitizer-address (push) Waiting to run
CI / build-debian-old (push) Waiting to run
CI / build-macos-latest (push) Waiting to run
CI / build-32bit (push) Waiting to run
CI / build-libc-malloc (push) Waiting to run
CI / build-centos-jemalloc (push) Waiting to run
CI / build-old-chain-jemalloc (push) Waiting to run
Codecov / code-coverage (push) Waiting to run
External Server Tests / test-external-standalone (push) Waiting to run
External Server Tests / test-external-cluster (push) Waiting to run
External Server Tests / test-external-nodebug (push) Waiting to run
Spellcheck / Spellcheck (push) Waiting to run
Fix XREAD MAXSIZE test under force-resp3 (#15378)
## Issue
The `XREAD MAXSIZE budget is per-command inside MULTI/EXEC` test compares the
entry count of a standalone `XREAD` reply against the same `XREAD` issued inside
a `MULTI`/`EXEC`. Under `--force-resp3` the test client's RESP3→RESP2
`transform_response_if_needed` dispatcher keys only on the command actually
sent, so it transforms the standalone `XREAD` reply but leaves the `EXEC` reply
and its nested sub-replies untouched. The standalone reply therefore arrives in
RESP2 array-of-pairs shape (`{{stream {entries...}}}`) while the EXEC-nested
`XREAD` reply stays in RESP3 map shape (`{stream {entries...}}`), causing
`xread_total_entries` to count `22` versus `2` and the assertion to fail only
under `--force-resp3`, even though both replies are functionally correct.

## Change
Normalize the nested `XREAD` reply from `EXEC` when running with
`--force-resp3`, so the test compares the same RESP2-style structure for
both the standalone and transactional `XREAD` replies.
2026-06-29 11:27:41 +03:00
..
array.tcl Implement the new Redis Array type (#15162) 2026-05-14 00:56:44 +08:00
hash-field-expire.tcl Increase threshold for HPEXPIRETIME persists after RDB reload test (#15047) 2026-04-17 16:36:02 +08:00
hash.tcl Fix issues with server.allow_access_expired (#14262) 2025-10-12 11:02:03 +08:00
incr.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
increx.tcl Replace INCREX out-of-bounds policy to a single SATURATE option (#15237) 2026-05-20 18:07:14 +08:00
list-2.tcl dynamically list test files (#13220) 2024-05-30 19:09:26 +08:00
list-3.tcl Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120) 2022-01-16 08:54:40 +02:00
list.tcl Fix brittle assert_match patterns for unexpected slowlog fields (#14948) 2026-04-13 14:45:14 +08:00
set.tcl Implement sdiffcard command (#15278) 2026-06-24 13:24:27 +03:00
stream-cgroups.tcl Add MAXCOUNT and MAXSIZE options to XREAD and XREADGROUP (#15282) 2026-06-26 11:00:07 +03:00
stream.tcl Fix XREAD MAXSIZE test under force-resp3 (#15378) 2026-06-29 11:27:41 +03:00
string.tcl Batched MGET/MSET dict prefetch with dictType-driven payload hints (#15133) 2026-05-11 10:22:25 +08:00
zset.tcl perf: widen fast_float_strtod fast path to 17-19 digit mantissas (#15061) 2026-04-20 20:45:49 +08:00