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

Add tests using Cassandra-5.0-alpha1 #586

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
test_suite: 'verify -P docker-integration-test,standalone-integration-tests -DskipUTs'
- name: "Standalone integration 4.1"
test_suite: 'verify -P docker-integration-test,standalone-integration-tests -Dit.cassandra.version=4.1 -DskipUTs'
- name: "Standalone integration 5.0-alpha1"
test_suite: 'verify -P docker-integration-test,standalone-integration-tests -Dit.cassandra.version=5.0-alpha1 -DskipUTs'
- name: "Python integration"
test_suite: 'verify -P docker-integration-test,python-integration-tests -DskipUTs'
steps:
Expand Down
3 changes: 3 additions & 0 deletions cassandra-test-image/src/main/docker/ecc-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
set -e

sed -i "s/authenticator: .*/authenticator: PasswordAuthenticator/g" "$CASSANDRA_CONF"/cassandra.yaml
# Start of for 5.X
sed -i "/^authenticator:/{n;s/class_name : .*/class_name : PasswordAuthenticator/}" "$CASSANDRA_CONF"/cassandra.yaml
# End of for 5.X
sed -i "s/^authorizer: .*/authorizer: CassandraAuthorizer/g" "$CASSANDRA_CONF"/cassandra.yaml

sed -i "s/num_tokens: .*/num_tokens: 16/g" "$CASSANDRA_CONF"/cassandra.yaml
Expand Down
10 changes: 5 additions & 5 deletions docs/COMPATIBILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Below matrix defines which ecChronos versions have been tested and verified with which Cassandra version.

| ecchronos version | Cassandra 3.0.X | Cassandra 3.11.X | Cassandra 4.0.X | Cassandra 4.1.X |
|------------------------|-----------------|------------------|-----------------|-----------------|
| <= 2.0.5 | X | X | | |
| > 2.0.5 < 5.0.0 | X | X | X | |
| >= 5.0.0 | | | X | X |
| ecchronos version | Cassandra 3.0.X | Cassandra 3.11.X | Cassandra 4.0.X | Cassandra 4.1.X | Cassandra 5.0-alpha1 |
|------------------------|-----------------|------------------|-----------------|-----------------|----------------------|
| <= 2.0.5 | X | X | | | |
| > 2.0.5 < 5.0.0 | X | X | X | | |
| >= 5.0.0 | | | X | X | X |
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ limitations under the License.
<memorySwap>-1</memorySwap>
<env>
<LOCAL_JMX>no</LOCAL_JMX>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap} -Xmn100M</JVM_OPTS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap}</JVM_OPTS>
<JVM_EXTRA_OPTS>-Dcom.sun.management.jmxremote.authenticate=false -Dcassandra.superuser_setup_delay_ms=0 -Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.ring_delay_ms=0</JVM_EXTRA_OPTS>
</env>
<exposedPropertyKey>seed</exposedPropertyKey>
Expand Down Expand Up @@ -941,7 +941,7 @@ limitations under the License.
<LOCAL_JMX>no</LOCAL_JMX>
<HOSTNAME>$HOSTNAME</HOSTNAME>
<CASSANDRA_SEEDS>$${docker.container.seed.ip}</CASSANDRA_SEEDS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap} -Xmn100M</JVM_OPTS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap}</JVM_OPTS>
<JVM_EXTRA_OPTS>-Dcom.sun.management.jmxremote.authenticate=false -Dcassandra.superuser_setup_delay_ms=0 -Dcassandra.gossip_settle_min_wait_ms=100 -Dcassandra.gossip_settle_interval_ms=100 -Dcassandra.ring_delay_ms=4000</JVM_EXTRA_OPTS>
</env>
<volumes>
Expand All @@ -968,7 +968,7 @@ limitations under the License.
<env>
<LOCAL_JMX>no</LOCAL_JMX>
<CASSANDRA_SEEDS>$${docker.container.seed.ip}</CASSANDRA_SEEDS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap} -Xmn100M</JVM_OPTS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap}</JVM_OPTS>
<JVM_EXTRA_OPTS>-Dcom.sun.management.jmxremote.authenticate=false -Dcassandra.superuser_setup_delay_ms=0 -Dcassandra.gossip_settle_min_wait_ms=100 -Dcassandra.gossip_settle_interval_ms=100 -Dcassandra.ring_delay_ms=4000</JVM_EXTRA_OPTS>
</env>
<volumes>
Expand All @@ -995,7 +995,7 @@ limitations under the License.
<env>
<LOCAL_JMX>no</LOCAL_JMX>
<CASSANDRA_SEEDS>$${docker.container.seed.ip}</CASSANDRA_SEEDS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap} -Xmn100M</JVM_OPTS>
<JVM_OPTS>-Xmx${it.cassandra.heap} -Xms${it.cassandra.heap}</JVM_OPTS>
<JVM_EXTRA_OPTS>-Dcom.sun.management.jmxremote.authenticate=false -Dcassandra.superuser_setup_delay_ms=0 -Dcassandra.gossip_settle_min_wait_ms=100 -Dcassandra.gossip_settle_interval_ms=100 -Dcassandra.ring_delay_ms=4000</JVM_EXTRA_OPTS>
</env>
<volumes>
Expand Down