Repository navigation
Conversation
ClickHouse persists its default local database path. Use a fresh path for each stateless fixture invocation so tests cannot share tables or locks. Signed-off-by: zlareb1 <zlareb1@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch has not been deployed
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.
Related: #1313
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
None.
Why
ClickHouse 26.11 persists the default
clickhouse localdata directory. Unit tests that each expect a fresh database collide on its status lock or see tables created by an earlier test.Scope and risk
The shared unit-test helper supplies a temporary path for each stateless invocation. Stateful tests continue to supply their own directory so they can read back earlier writes.
Compatibility, rollout and rollback
Tests
pytest tests/unit/test_assistant_support.py tests/unit/test_agent_claim.py tests/unit/test_pending_grant_confers_nothing.py -qpassed 147 tests on 26.10 and 147 on 26.11.make format-check,make lint, andmake typecheckpassed.AI assistance in the code (leave one; writing this description with AI is fine):
Checklist