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

Testing: use UUID based SSTables for testing #4197

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Conversation

Michal-Leszczynski
Copy link
Collaborator

@Michal-Leszczynski Michal-Leszczynski commented Jan 10, 2025

This PR makes SM tests run against UUID SSTables.
It adds a method for creating artificial integer SSTables that is used for testing versioned backup/restore behavior.

Fixes #4182

UUID SSTables are the default in newer Scylla version,
so we should focus on testing them and mock integer
based SSTables when needed.

Ref #4182
It's useful for scenarios where we want to
fail the test in case of response interceptor
error, which is difficult to achieve without
returning error response.
@Michal-Leszczynski Michal-Leszczynski changed the title fix(testing): use UUID based SSTables for testing Testing: use UUID based SSTables for testing Jan 15, 2025
This way we are able to cover mixed scenarios (integer + UUID SSTables),
which was missing from our test coverage. It also allows us to move
to testing the default UUID SSTables, which should be our priority.

Fixes #4182
@Michal-Leszczynski Michal-Leszczynski merged commit 1072a47 into master Jan 21, 2025
51 checks passed
@Michal-Leszczynski Michal-Leszczynski deleted the ml/fix-4182 branch January 21, 2025 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.

Run SM tests agains SSTables with UUID ID
3 participants