[8.4] [MOD-12701] Enforce a per-test timeout in the C++ rstest suite using ctest#7713
Merged
redisearch-backport-pull-request[bot] merged 1 commit into8.4from Dec 10, 2025
Merged
Conversation
2 tasks
LukeMathWalker
approved these changes
Dec 10, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.4 #7713 +/- ##
==========================================
- Coverage 85.95% 85.94% -0.01%
==========================================
Files 331 331
Lines 52886 52886
Branches 11998 11998
==========================================
- Hits 45456 45455 -1
- Misses 7263 7264 +1
Partials 167 167
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Backport of #7588 to
8.4.Note
Switches C++ test execution to ctest with gtest_discover_tests (300s per-test timeout), updates the unit test runner to use/parse ctest output, and skips several slow/flaky tests.
sbin/unit-tests): Execute C++ suites viactest(including single-test-R), add log handling and parsing of CTest output (PASS/FAIL/SKIPPED/TIMEOUT), and mirror behavior for coordinator tests; retain GDB path.tests/cpptests/CMakeLists.txt: Useinclude(GoogleTest)andgtest_discover_tests(rstest)with per-testTIMEOUT 300(replacingadd_test).tests/cpptests/coord_tests/CMakeLists.txt: Same forrstest_coordwithTIMEOUT 300.GTEST_SKIP():IORuntimeCtxCommonTest.ActiveIoThreadsMetric(coverage slowdown).RangeTest.testRangeIterator,RangeTest.testRangeIteratorMulti.RangeIndexTest.testNumericTreeMemory,RangeIndexTest.testNumericTreeOverhead(ctest-only failures).FGCTestTag.testPipeErrorDuringApply: skip on macOS; reduce iterations (step by 2).Written by Cursor Bugbot for commit e0132b0. This will update automatically on new commits. Configure here.