Repository navigation
Make 04661_refreshable_mv_cancel_during_planning robust on slow runners - #113960
Merged
Merged
Conversation
The test distinguishes "the drop cancelled the blocked refresh planning" from "the drop waited for the planning to finish" by racing a 10-second client timeout against a ~30-second `sleepEachRow` chain inside the refresh's planning stage. On a loaded sanitizer runner 10 seconds is not enough for a legitimately cancelled drop: the test failed once with "drop did not finish" on `Stateless tests (amd_tsan, s3 storage)` and then passed 8/8 reruns with the same randomized settings. Widen both sides of the margin: the planning block now lasts ~120 seconds and the drop gets 60 seconds, keeping the discrimination (a drop that waits for planning cannot fit in the timeout) while tolerating scheduling delays. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113722&sha=9e401fcfde10f841ae373a205bc2b1630dd5a48e&name_0=PR Related PR: #113722 Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
|
Workflow [PR], commit [dbf0f24] Summary: ✅ AI ReviewSummaryThis PR widens the timing margin in Final Verdict✅ No blocking issues found. |
…le-mv-cancel-flaky
Member
clickhouse-gh Bot
pushed a commit
that referenced
this pull request
Sep 8, 2026
…anning` robust on slow runners
clickhouse-gh Bot
added a commit
that referenced
this pull request
Sep 8, 2026
Backport #113960 to 26.6: Make `04661_refreshable_mv_cancel_during_planning` robust on slow runners
clickhouse-gh Bot
pushed a commit
that referenced
this pull request
Sep 8, 2026
…anning` robust on slow runners
clickhouse-gh Bot
added a commit
that referenced
this pull request
Sep 8, 2026
Backport #113960 to 26.7: Make `04661_refreshable_mv_cancel_during_planning` robust on slow runners
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 to CHANGELOG.md):
...
Make
04661_refreshable_mv_cancel_during_planningrobust on slow runners.The test distinguishes "the drop cancelled the blocked refresh planning" from "the drop waited for the planning to finish" by racing a 10-second client
timeoutagainst a ~30-secondsleepEachRowchain inside the refresh's planning stage. On a loaded sanitizer runner, 10 seconds is not always enough for a legitimately cancelled drop: the test failed once withdrop did not finishonStateless tests (amd_tsan, s3 storage, parallel, 3/3)and then passed 8/8 harness reruns with the same randomized settings.This change widens both sides of the margin: the planning block now lasts ~120 seconds and the drop gets 60 seconds, keeping the discrimination (a drop that waits for the planning to finish cannot fit into the timeout) while tolerating scheduling delays. Verified locally: the modified test passes in ~5 seconds.
The test was introduced in #113188.
CI report with the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113722&sha=9e401fcfde10f841ae373a205bc2b1630dd5a48e&name_0=PR
Related: #113722
Related: #113188
Version info
26.7.7.56,26.6.5.83