Skip to content

Fix a flakiness in testCursorOnCoordinator - [MOD-8016]#5304

Merged
GuyAv46 merged 1 commit intomasterfrom
guyav-fix_flakiness
Dec 4, 2024
Merged

Fix a flakiness in testCursorOnCoordinator - [MOD-8016]#5304
GuyAv46 merged 1 commit intomasterfrom
guyav-fix_flakiness

Conversation

@GuyAv46
Copy link
Collaborator

@GuyAv46 GuyAv46 commented Dec 4, 2024

Describe the changes in the pull request

Fix flakiness in the testCursorOnCoordinator test where we request the next 100-results chunk of results before the local _FT.AGGREGATE command is executed.
This is not a bug, as we may get the first results from another shard and request more before the local command is triggered asynchronously.

The solution is to skip any FT.AGGREGATE command (user or internal) from the monitor, as they are unrelated to the verifications we make according to the monitor. We still validate we got all the expected results.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.70%. Comparing base (e0c18c2) to head (7b535b6).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5304   +/-   ##
=======================================
  Coverage   86.69%   86.70%           
=======================================
  Files         193      193           
  Lines       34764    34764           
=======================================
+ Hits        30139    30141    +2     
+ Misses       4625     4623    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GuyAv46 GuyAv46 added this pull request to the merge queue Dec 4, 2024
Merged via the queue into master with commit 1d81852 Dec 4, 2024
@GuyAv46 GuyAv46 deleted the guyav-fix_flakiness branch December 4, 2024 13:34
redisearch-backport-pull-request bot pushed a commit that referenced this pull request Dec 4, 2024
@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 2.8:

@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 2.6:

@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 2.10:

@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 8.0:

redisearch-backport-pull-request bot pushed a commit that referenced this pull request Dec 4, 2024
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2024
Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5304)

fix flakiness

(cherry picked from commit 1d81852)

Co-authored-by: GuyAv46 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2024
Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5304)

fix flakiness

(cherry picked from commit 1d81852)

Co-authored-by: GuyAv46 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2024
Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5304)

fix flakiness

(cherry picked from commit 1d81852)

Co-authored-by: GuyAv46 <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2024
Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5304)

fix flakiness

(cherry picked from commit 1d81852)

Co-authored-by: GuyAv46 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants