Repository navigation
Stabilize test_split_cache_system_files_no_eviction test - #112099
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [5c7e4c7] Summary: ✅ AI ReviewSummaryThis PR replaces the count-based check in Final VerdictStatus: ✅ Approve |
Member
Author
|
Backporting to fix CI |
This was referenced Sep 14, 2026
clickhouse-gh Bot
added a commit
that referenced
this pull request
Sep 14, 2026
Backport #112099 to 26.7: Stabilize test_split_cache_system_files_no_eviction test
clickhouse-gh Bot
added a commit
that referenced
this pull request
Sep 14, 2026
Backport #112099 to 26.6: Stabilize test_split_cache_system_files_no_eviction test
PedroTadim
added a commit
that referenced
this pull request
Sep 15, 2026
Backport #112099 to 26.3: Stabilize test_split_cache_system_files_no_eviction test
kewin-robetti
pushed a commit
to viasoftkorp/ClickHouse
that referenced
this pull request
Sep 18, 2026
…_files_no_eviction test
kewin-robetti
pushed a commit
to viasoftkorp/ClickHouse
that referenced
this pull request
Sep 18, 2026
…_files_no_eviction test
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix flaky
test_filesystem_split_cache::test_split_cache_system_files_no_eviction.The baseline System-segment count was sampled straight after
wait_for_cache_initialized,which only reports that the cache became usable while background loading keeps adding
segments, so the baseline was a partially populated snapshot (416 or 467 against a steady
state of 701). The assertion was also two-sided (
abs), so it failed when the count grew —the opposite of what a no-eviction test should check, and the cause of every observed failure.
Both comparison points now sample once the count has settled, and the assertion only fails
on a drop.
Fixes failures like this one https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=111406&sha=6282394660bff978c2f06b63ecfd9f27d28b1e97&name_0=PR&name_1=Integration+tests+%28amd_tsan%2C+3%2F6%29
Closes #112091
Version info
26.7.9.8,26.6.7.9,26.3.33.82