Skip to content

[2.10] [MOD-12789] test: fix flaky thpool test#7582

Merged
JoanFM merged 1 commit into2.10from
backport-7581-to-2.10
Dec 29, 2025
Merged

[2.10] [MOD-12789] test: fix flaky thpool test#7582
JoanFM merged 1 commit into2.10from
backport-7581-to-2.10

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

@redisearch-backport-pull-request redisearch-backport-pull-request bot commented Dec 1, 2025

Description

Backport of #7581 to 2.10.


Note

In tests/cpptests/test_cpp_thpool.cpp, relax thread-count assertion to >= and add a wait loop until num_threads_alive equals the configured value to avoid flakiness after re-adding threads.

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

test: fix flaky thpool test
(cherry picked from commit b35b3ee)
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.29%. Comparing base (0911151) to head (f366567).
⚠️ Report is 34 commits behind head on 2.10.

Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #7582      +/-   ##
==========================================
- Coverage   89.31%   89.29%   -0.03%     
==========================================
  Files         207      207              
  Lines       35504    35504              
==========================================
- Hits        31711    31702       -9     
- Misses       3793     3802       +9     
Flag Coverage Δ
flow 83.86% <ø> (-0.16%) ⬇️
unit 42.38% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@JoanFM JoanFM disabled auto-merge December 1, 2025 06:21
@JoanFM JoanFM enabled auto-merge December 1, 2025 06:21
@JoanFM JoanFM requested review from alonre24 and meiravgri December 1, 2025 06:22
@JoanFM JoanFM added this pull request to the merge queue Dec 7, 2025
@oshadmi oshadmi removed this pull request from the merge queue due to a manual request Dec 7, 2025
@JoanFM JoanFM added this pull request to the merge queue Dec 29, 2025
Merged via the queue into 2.10 with commit 59261ea Dec 29, 2025
17 checks passed
@JoanFM JoanFM deleted the backport-7581-to-2.10 branch December 29, 2025 10:18
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