Skip to content

[8.2] [MOD-11611] fix test_vecsim:TestTimeoutReached #6911

Merged
redisearch-backport-pull-request[bot] merged 2 commits into8.2from
backport-6904-to-8.2
Sep 28, 2025
Merged

[8.2] [MOD-11611] fix test_vecsim:TestTimeoutReached #6911
redisearch-backport-pull-request[bot] merged 2 commits into8.2from
backport-6904-to-8.2

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

@redisearch-backport-pull-request redisearch-backport-pull-request bot commented Sep 28, 2025

Description

Backport of #6904 to 8.2.


Note

Limit KNN K to 1000 and drop no-timeout success checks for range and hybrid, keeping only timeout-failure validations.

  • Tests (tests/pytests/test_vecsim.py):
    • TestTimeoutReached.run_long_queries:
      • Use fixed large_k = 1000 for KNN success path; update LIMIT/PARAMS K and assertions accordingly.
      • Remove no-timeout success checks for VECTOR_RANGE and hybrid (HYBRID_POLICY) queries; retain only timeout-failure expectations.

Written by Cursor Bugbot for commit f424787. This will update automatically on new commits. Configure here.

* test: update KNN query to use large_k and remove redundant checks

* revert unnecessary changes

(cherry picked from commit 8e2dd9b)
cursor[bot]

This comment was marked as outdated.

@redisearch-backport-pull-request redisearch-backport-pull-request bot added this pull request to the merge queue Sep 28, 2025
Merged via the queue into 8.2 with commit a57e9b9 Sep 28, 2025
17 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-6904-to-8.2 branch September 28, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant