Skip to content

fix(tests): honor ClickHouse version in providers - #345

Merged
simPod merged 1 commit into
masterfrom
fix/infection-initial-tests
Aug 13, 2026
Merged

fix(tests): honor ClickHouse version in providers#345
simPod merged 1 commit into
masterfrom
fix/infection-initial-tests

Conversation

@simPod

@simPod simPod commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Context

Infection runs integration tests against ClickHouse 22.10.

Root Cause

PHPUnit evaluates data providers before its environment bootstrap. The provider read $_ENV, defaulted to 23.12, and selected cases that ClickHouse 22.10 cannot run.

Decision

Read the process environment directly when constructing the ClickHouse version and limit the Array(IPv6) case to supported ClickHouse versions.

Consequences

The integration-test matrix now matches the ClickHouse version configured for the test process.

@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.05%. Comparing base (31befd1) to head (a7dbe7e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #345   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files          42       42           
  Lines         862      862           
=======================================
  Hits          828      828           
  Misses         34       34           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@simPod simPod changed the title ci(infection): show initial test failures test: isolate ClickHouse database names Aug 13, 2026
@simPod simPod changed the title test: isolate ClickHouse database names ci(infection): wait for ClickHouse health Aug 13, 2026
@simPod
simPod force-pushed the fix/infection-initial-tests branch from c01d331 to 2fb5718 Compare August 13, 2026 09:29
@simPod
simPod force-pushed the fix/infection-initial-tests branch from 2fb5718 to a7dbe7e Compare August 13, 2026 09:30
@simPod simPod changed the title ci(infection): wait for ClickHouse health fix(tests): honor ClickHouse version in providers Aug 13, 2026
@simPod
simPod merged commit ca9a2d4 into master Aug 13, 2026
19 checks passed
@simPod
simPod deleted the fix/infection-initial-tests branch August 13, 2026 09:33
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