Skip to content

Fix a few flaky tests#92399

Merged
PedroTadim merged 15 commits intomasterfrom
fix-test
Dec 31, 2025
Merged

Fix a few flaky tests#92399
PedroTadim merged 15 commits intomasterfrom
fix-test

Conversation

@PedroTadim
Copy link
Copy Markdown
Member

@PedroTadim PedroTadim commented Dec 17, 2025

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):

...

Documentation entry for user-facing changes

For 03759_marks_cache_events:
I think the issue was due to enabled async inserts; the first select queries didn't see the part flushed into the storage yet. Also added defensive lines for the DETACH.
For 03704_rmv_logging_internal_queries:
Just check if inserts were logged; there could be other materialized views from other tests running in parallel, also doing inserts.

Closes #91973
Closes #92284

  • Documentation is written (mandatory for new features)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Dec 17, 2025

Workflow [PR], commit [9105914]

Summary:

@clickhouse-gh clickhouse-gh bot added the pr-ci label Dec 17, 2025
@PedroTadim PedroTadim changed the title Fix 92284 Fix flaky 03759_marks_cache_events test Dec 17, 2025
@PedroTadim PedroTadim changed the title Fix flaky 03759_marks_cache_events test Fix a few flaky tests Dec 17, 2025
@thevar1able thevar1able self-assigned this Dec 18, 2025
@PedroTadim PedroTadim added this pull request to the merge queue Dec 18, 2025
@PedroTadim PedroTadim removed this pull request from the merge queue due to a manual request Dec 18, 2025
@PedroTadim
Copy link
Copy Markdown
Member Author

@antaljanosbenjamin can you give a look at this again?

@PedroTadim PedroTadim enabled auto-merge December 31, 2025 12:15
@PedroTadim PedroTadim added this pull request to the merge queue Dec 31, 2025
Merged via the queue into master with commit f04b03d Dec 31, 2025
131 checks passed
@PedroTadim PedroTadim deleted the fix-test branch December 31, 2025 15:09
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Dec 31, 2025
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.

Flaky test: 03759_marks_cache_events 03704_rmv_logging_internal_queries is flaky

5 participants