Skip to content

Conversation

@Bouncheck
Copy link

Adds getScyllaVersion() to CCMAccess, CCMCache, ReadOnlyCCMAccess.
Adds scyllaVersion field to CCMBridge.Builder class.

Some tests for Scylla and Cassandra can have very high code overlap.
This change will make it possible to adjust a few lines in a method instead
of repeating the whole test method with different cluster version requirements.

This is bundled with adjustment to StateListenerTest:
In newer Scylla versions ccm node decomission first causes DOWN event
to be sent and then REMOVE. This change adjusts the expected event so that
the test passes.

Adds `getScyllaVersion()` to CCMAccess, CCMCache, ReadOnlyCCMAccess.
Adds `scyllaVersion` field to CCMBridge.Builder class.

Some tests for Scylla and Cassandra have very high code overlap.
This change will make it possible to adjust a few lines in a method instead
of repeating a whole test method with different cluster version requirement.
@Bouncheck Bouncheck self-assigned this Jan 20, 2025
@Bouncheck Bouncheck force-pushed the scylla-3.x-test-fixes-StateListenerTest-CcmInterfaces branch from 105ac0f to d4cb048 Compare January 20, 2025 15:32
In newer Scylla versions ccm node decomission first causes DOWN event
to be sent and then REMOVE. This change adjusts the expected event so that
the test passes.
@Bouncheck Bouncheck marked this pull request as ready for review January 20, 2025 18:06
@Bouncheck Bouncheck requested a review from dkropachev January 20, 2025 19:48
@dkropachev dkropachev merged commit 042bae0 into scylladb:scylla-3.x Jan 21, 2025
11 checks passed
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.

2 participants