Skip to content

fix flaky OOM tests MOD-9406#5941

Merged
lerman25 merged 3 commits intomasterfrom
omerL-fix-flaky-oom
Apr 16, 2025
Merged

fix flaky OOM tests MOD-9406#5941
lerman25 merged 3 commits intomasterfrom
omerL-fix-flaky-oom

Conversation

@lerman25
Copy link
Collaborator

Fix flakiness of OOM testing by setting tighter limits.

@github-actions github-actions bot added size:S and removed size:XS labels Apr 15, 2025
@lerman25 lerman25 marked this pull request as ready for review April 15, 2025 11:57
@lerman25 lerman25 requested a review from GuyAv46 April 15, 2025 11:58
@lerman25 lerman25 changed the title fix flaky OOM tests fix flaky OOM tests MOD-9406 Apr 15, 2025
@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.06%. Comparing base (383ed64) to head (e006179).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5941      +/-   ##
==========================================
- Coverage   87.09%   87.06%   -0.04%     
==========================================
  Files         211      211              
  Lines       38565    38565              
  Branches     1893     1893              
==========================================
- Hits        33588    33575      -13     
- Misses       4970     4983      +13     
  Partials        7        7              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lerman25 lerman25 enabled auto-merge April 15, 2025 15:58
@lerman25 lerman25 added this pull request to the merge queue Apr 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 15, 2025
@lerman25 lerman25 added this pull request to the merge queue Apr 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 15, 2025
@lerman25 lerman25 added this pull request to the merge queue Apr 16, 2025
Merged via the queue into master with commit 358b845 Apr 16, 2025
39 checks passed
@lerman25 lerman25 deleted the omerL-fix-flaky-oom branch April 16, 2025 06:38
redisearch-backport-pull-request bot pushed a commit that referenced this pull request Apr 16, 2025
* fix flaky

* comment

* change to ceil

(cherry picked from commit 358b845)
@redisearch-backport-pull-request
Copy link
Contributor

Successfully created backport PR for 8.0:

github-merge-queue bot pushed a commit that referenced this pull request Apr 16, 2025
fix flaky OOM tests MOD-9406 (#5941)

* fix flaky

* comment

* change to ceil

(cherry picked from commit 358b845)

Co-authored-by: lerman25 <[email protected]>
JoanFM pushed a commit that referenced this pull request May 27, 2025
* fix flaky

* comment

* change to ceil
JoanFM pushed a commit that referenced this pull request May 27, 2025
* fix flaky

* comment

* change to ceil
lerman25 added a commit that referenced this pull request Jun 5, 2025
* fix flaky

* comment

* change to ceil
github-merge-queue bot pushed a commit that referenced this pull request Jun 10, 2025
* MOD-8862: Add DebugCTX mechanism and DebugIndexesScanner (#5672)

* Create dbg ctx and dbgIndScan

* Fix

* fixing mechanism and pytest

* Add pause before scan mechanism and pytest

* Revert "Add pause before scan mechanism and pytest"

This reverts commit b842ce9.

* Re-adding 'Add pause before scan mechanism and pytest'

* fix testDebugHelp

* fixing Guy's comment + skipping on cluster in pytest

* Move volatile pause to BG scanner,  move debug scanner flag to base IndexesScanner

* fix pytest

* thread safety

* Cover more code

* pause before scan coverage

* fix - can't create a flow to reach    'Debug mode enabled but scanner is not a debug scanner' error

* fixing Alon's comment

* wrong arity check and comment on not used function

* format

* MOD-7795: Background indexing memory limitation & configuration

* fix test

* fix-test2

* fix flaky OOM tests MOD-9406 (#5941)

* fix flaky

* comment

* change to ceil

* [MOD-9560] Change default config value for _BG_INDEX_MEM_PCT_THR (#6053)

* change default value

* change default value in config pytest

* change index oom tests to lower value then new default

* change debug commands tests to lower value then default value

* change default value of set tight memory functions

* 100testv1

* test default value

* [MOD-9560] Change default config value for _BG_INDEX_MEM_PCT_THR

* fix json

* [MOD-9372 , MOD-9733] Stop indexing OOM - Add wait before OOM

* skip query error test

* fix typo

* support different default values

* change test config

* fix config

* skip non cluster

* [MOD-9560] Revert marking index as faulty after reaching OOM

* [MOD-9372] - Add GIL release in OOM wait

* remove cargo

* fix pytest
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.

2 participants