Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unintended CQL schema tests #4247

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

Michal-Leszczynski
Copy link
Collaborator

This PR adds skipCQLSchemaTestAssumingSSTables helper method which allows to skip the CQL schema tests which were intended just for the SSTAble schema restore. Example of such tests:

  • restoreWithAgentRestart
  • restoreWithResume
  • restoreWithVersions
  • restoreAlternator

Those tests were "passing" before by accident and that's why they weren't skipped in the past. They are also not that interesting for CQL schema restore, which just applies saved CQL statements.

It also rephrases some comments so that it's clear when a schema test should be skipped and for what
reason.

Fixes #4246

This commit adds skipCQLSchemaTestAssumingSSTables helper method
which allows to skip the CQL schema tests which were intended
just for the SSTAble schema restore. Example of such tests:
- restoreWithAgentRestart
- restoreWithResume
- restoreWithVersions
- restoreAlternator

Those tests were "passing" before by accident and that's
why they weren't skipped in the past. They are also not
that interesting for CQL schema restore, which just
applies saved CQL statements.

It also rephrases some comments so that it's clear
when a schema test should be skipped and for what
reason.

Fixes #4246
@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review February 11, 2025 12:41
@Michal-Leszczynski Michal-Leszczynski merged commit 61e584e into master Feb 12, 2025
51 checks passed
@Michal-Leszczynski Michal-Leszczynski deleted the ml/fix-restore-schema-sstable-test-skip branch February 12, 2025 12:12
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.

TestRestoreSchemaVersionedIntegration is flaky
3 participants