Skip to content

Revert "Remove low-value integration tests" - #122679

Merged
rschu1ze merged 1 commit into
masterfrom
revert-122485-remove-pointless-integration-tests
Sep 29, 2026
Merged

rschu1ze merged 1 commit into
masterfrom
revert-122485-remove-pointless-integration-tests

Conversation

@rschu1ze

@rschu1ze rschu1ze commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Reverts #122485


Workflow [PR]
Sync PR [sync-upstream/pr/122679]

Version info

  • Merged into: 26.10.1.980-master (included in 26.10 and later)

@clickhouse-gh

clickhouse-gh Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [06b6633]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added pr-not-for-changelog This PR should not be mentioned in the changelog comp-testing Test content only (no production code). labels Sep 28, 2026
@rschu1ze
rschu1ze enabled auto-merge September 28, 2026 16:39
@rschu1ze
rschu1ze added this pull request to the merge queue Sep 29, 2026
Merged via the queue into master with commit eb34e31 Sep 29, 2026
149 checks passed
@rschu1ze
rschu1ze deleted the revert-122485-remove-pointless-integration-tests branch September 29, 2026 10:41
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 29, 2026
pull Bot pushed a commit to AnotherGenZ/ClickHouse that referenced this pull request Sep 29, 2026
`test_iceberg_narrow_manifest_bounds` fails on every master run since
ClickHouse#122679 restored its file:
https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=eb34e3144cb9f262e3b7dc8a6b49e0371dbac2d0&name_0=MasterCI&name_1=Integration%20tests%20%28amd_msan%2C%208%2F8%29

ClickHouse#122681 made `ManifestFileIterator::processRow` decode the bounds of only
the columns the filter uses (`getMinMaxColumnTypes`). The test narrows the
bound of `n` and then greps for the width guard's log line after a read
filtered on `s` alone, which no longer decodes `n`, so the grep returns
nothing. The CI of ClickHouse#122681 did not run this file, because ClickHouse#122485 had
removed it at the time.

The same change made the module's four other checks that a well-formed
column in the same manifest entry keeps pruning vacuous: each filtered on
the well-formed column alone, so the broken bound was never decoded and the
check passed whatever the per-column fallback did.

The five per-column checks now also filter on the broken column. The pruner
keeps one `KeyCondition` per filter column with only that column as key, so
the other column's atom is unknown and the conjunction prunes exactly as the
single-column filter did; the expected counts are unchanged.

Validated with two mutants that make the width guard or the inverted-pair
guard drop min/max pruning for the whole entry instead of one column: each
reddens the new file at exactly the checks of its own guard, while the old
file's checks at those sites stay green.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
harikrishnan94 added a commit that referenced this pull request Oct 1, 2026
`test_iceberg_narrow_manifest_bounds` failed in `Integration tests (amd_llvm_coverage, 1/8)` on
2eb21c1. The test failed on every `master` run from #122679 until #122895 fixed it. The CI run
of 2eb21c1 started before that fix was merged, so it tested a merge without it. A re-run tests
that same merge again, so only a new run can pick up the fix. This merge is clean and does not
change the diff of the pull request.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=120024&sha=2eb21c1bc9f02e703ede180dc854745e7b1bf68d&name_0=PR
Related: #122895

Co-Authored-By: Claude Opus 5.5 <[email protected]>
otselnik pushed a commit to otselnik/ClickHouse that referenced this pull request Oct 2, 2026
This is a stricter version of ClickHouse#122485,
which was reverted in ClickHouse#122679.

Remove 85 integration test files. They test the integration test harness,
server misconfigurations, corner cases in obscure functionality, contrived or
hand-corrupted states, internal races rebuilt with failpoints, or only assert
that a metric, log line or setting exists.

Unlike the previous attempt, keep the tests related to data lakes (Iceberg,
Delta Lake, Paimon, Hive, catalogs and their helpers, Spark), the
`test_system_stop.py` tests of streaming engines, and a few other tests of real
user-facing behavior.

The durations table in `ci/jobs/scripts/integration_tests_configs.py` is left
unchanged to avoid merge conflicts; entries for files that no longer exist are
ignored.

Also add guidelines against low-value integration tests to `.claude/CLAUDE.md`.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-testing Test content only (no production code). pr-not-for-changelog This PR should not be mentioned in the changelog 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