Skip to content

test: [CASSANDRA-16015] SSTableOfflineRelevelTest unit test hardening - #5190

Open
cchacin wants to merge 1 commit into
apache:trunkfrom
cchacin:CASSANDRA-16015
Open

cchacin wants to merge 1 commit into
apache:trunkfrom
cchacin:CASSANDRA-16015

Conversation

@cchacin

@cchacin cchacin commented Sep 19, 2026

Copy link
Copy Markdown
  • Added support for TEST_UTIL_ALLOW_TOOL_REINIT_FOR_TEST to allow in-process testing (SSTableOfflineRelevel)
  • Added SchemaLoader / ServerTestUtils setup and teardown for isolated keyspace generation
  • Generates real SSTables on disk to be able to verify behaviors

Coverage

Before After
Class 33% 100%
Method 16% 100%
Line 24% 92%
Branch 12% 86%

Verification:

.build/run-tests.sh -s -a test -t SSTableOfflineRelevelTest
build/check-code.sh -s

CASSANDRA-16015

- Added support for TEST_UTIL_ALLOW_TOOL_REINIT_FOR_TEST to allow
in-process testing (SSTableOfflineRelevel)
- Added SchemaLoader / ServerTestUtils setup and teardown for isolated
keyspace generation
- Generates real SSTables on disk to be able to verify behaviors
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