Skip to content

test(search): skip TestSearchLimitOffset on RESP3 for standalone too#526

Open
kiryazovi-redis wants to merge 1 commit into
redis:masterfrom
kiryazovi-redis:fix/search-limit-offset-standalone-resp3-skip
Open

test(search): skip TestSearchLimitOffset on RESP3 for standalone too#526
kiryazovi-redis wants to merge 1 commit into
redis:masterfrom
kiryazovi-redis:fix/search-limit-offset-standalone-resp3-skip

Conversation

@kiryazovi-redis

@kiryazovi-redis kiryazovi-redis commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

TestSearchLimitOffset is affected by a known RediSearch LIMIT/offset behaviour
difference under RESP3 (RediSearch#10369). The test already skipped that case for
cluster, but the same RESP3 behaviour occurs on standalone as well, so the
test fails there when run with RESP3.

What changed

  • Broaden the existing skip so TestSearchLimitOffset is skipped on RESP3 for
    standalone in addition to cluster, until RediSearch#10369 is resolved.

Test-only change.

Test plan

  • Search test suite on standalone with RESP2 (runs) and RESP3 (skips).

Prepared with AI assistance and reviewed under my account.


Note

Low Risk
Test-only change; no production or client library behavior is modified.

Overview
TestSearchLimitOffset is skipped on any RESP3 run, not only cluster, because RediSearch#10369 (incorrect FT.SEARCH LIMIT offset) also shows up on standalone Redis Enterprise.

The skip condition drops the cluster check and only uses TestContext.Current.GetRunProtocol().IsResp3(), with comments and the skip message updated to match.

Reviewed by Cursor Bugbot for commit dd31e6f. Bugbot is set up for automated code reviews on this repo. Configure here.

FT.SEARCH on RESP3 ignores the LIMIT offset server-side (RediSearch#10369),
returning [0, offset+count) instead of [offset, offset+count). The existing
skip only covered cluster+RESP3, but the same module behaviour reproduces on a
standalone Redis Enterprise database, so TestSearchLimitOffset(standalone,Resp3)
fails 10/10. Broaden the skip to all RESP3 runs (cluster and standalone) until
the module bug is resolved; standalone+RESP3 offset behaviour still needs
module-team confirmation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant