Skip to content

test(embeddedch): raise start timeout 60s→120s to de-flake CI#145

Open
BorisTyshkevich wants to merge 1 commit into
mainfrom
fix/embeddedch-start-timeout
Open

test(embeddedch): raise start timeout 60s→120s to de-flake CI#145
BorisTyshkevich wants to merge 1 commit into
mainfrom
fix/embeddedch-start-timeout

Conversation

@BorisTyshkevich

Copy link
Copy Markdown
Collaborator

The embedded-ClickHouse Start() intermittently times out at 60s in CI — it caused the v1.6.0 release build to fail (TestEmbeddedClickHouseXMLDropIn, embeddedch.go:152).

Cause: CI runs the suite with -parallel 4 -shuffle, so up to four real ClickHouse servers start concurrently on a cold runner that may also still be extracting the downloaded binary. 60s is too tight under that contention.

Fix: raise the default StartTimeout to 120s. A genuinely bad config still fails fast with a CH error, so this absorbs the timing flake without masking real startup failures. Pre-existing test/harness — no behavior change to the product.

🤖 Generated with Claude Code

The embedded-ClickHouse Start() intermittently timed out at 60s in CI (e.g. the
v1.6.0 release build), where the suite runs `-parallel 4 -shuffle` and up to
four real CH servers start concurrently on a cold runner still extracting the
downloaded binary. 120s absorbs the contention; a genuinely bad config fails
fast with a CH error, so this won't mask real startup failures.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant