Skip to content

Fix flaky test_keeper_max_append_byte_size under sanitizers - #98945

Merged
antonio2368 merged 1 commit into
masterfrom
fix/keeper-max-append-byte-size-test-timeout
Mar 6, 2026
Merged

antonio2368 merged 1 commit into
masterfrom
fix/keeper-max-append-byte-size-test-timeout

Conversation

@antonio2368

@antonio2368 antonio2368 commented Mar 6, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Remove hardcoded stop_start_wait_sec=10 in test_keeper_max_append_byte_size which is too tight for MSan builds
  • Under MSan, Keeper shutdown takes ~9.6s and startup with log replay takes ~9.5s, exceeding the 10s budget
  • Falls back to the default 60s timeout which gives sanitizer builds enough headroom

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=98609&sha=bb3e34ed8836201ce9697300bb555874d6628713&name_0=PR&name_1=Integration%20tests%20%28amd_msan%2C%201%2F6%29
#98609

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

🤖 Generated with Claude Code


Note

Low Risk
Low risk: test-only change that relaxes a restart timeout to avoid flakiness on slower (sanitizer) builds, with no production code impact.

Overview
Fixes flakiness in test_keeper_max_append_byte_size by removing the hardcoded stop_start_wait_sec=10 during node.restart_clickhouse(), allowing the default (longer) restart timeout.

This gives sanitizer builds more headroom for slower Keeper shutdown/startup and reduces intermittent integration test failures.

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

Version info

  • Merged into: 26.3.1.489

The test used `stop_start_wait_sec=10` which is too tight for MSan
builds where Keeper shutdown (~9.6s) and startup with log replay
(~9.5s) exceed the budget. Remove the explicit override to use the
default 60s timeout.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a1c68a6]

Summary: ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants