From 2801ed33662577b6a736b5bdb55f1e20fa08c6db Mon Sep 17 00:00:00 2001 From: mck Date: Wed, 16 Oct 2024 10:10:09 +0200 Subject: [PATCH] Add new cassandra_latest.yaml entries to latest tests Both CASSANDRA-18120 and CASSANDRA-19946 updated cassandra_latest.yaml but not the corresponding test configs patch by Mick Semb Wever; reviewed by Brandon Williams, Tiago L. Alves for CASSANDRA-20002 --- test/conf/latest_diff.yaml | 11 +++++++++++ .../cassandra/distributed/impl/InstanceConfig.java | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/test/conf/latest_diff.yaml b/test/conf/latest_diff.yaml index 28cb76c971..d7953e96b5 100644 --- a/test/conf/latest_diff.yaml +++ b/test/conf/latest_diff.yaml @@ -29,6 +29,17 @@ default: inherits: trie +batchlog_endpoint_strategy: dynamic_remote + +authenticator: + class_name : AllowAllAuthenticator +authorizer: + class_name: AllowAllAuthorizer +role_manager: + class_name: CassandraRoleManager +network_authorizer: + class_name: AllowAllNetworkAuthorizer + key_cache_size: 0MiB memtable_allocation_type: offheap_objects diff --git a/test/distributed/org/apache/cassandra/distributed/impl/InstanceConfig.java b/test/distributed/org/apache/cassandra/distributed/impl/InstanceConfig.java index ae891cf0d5..adb9bc35db 100644 --- a/test/distributed/org/apache/cassandra/distributed/impl/InstanceConfig.java +++ b/test/distributed/org/apache/cassandra/distributed/impl/InstanceConfig.java @@ -123,6 +123,14 @@ public class InstanceConfig implements IInstanceConfig "configurations", Map.of( "default", Map.of( "class_name", "TrieMemtable")))) + + .set("batchlog_endpoint_strategy", "dynamic_remote") + + .set("authenticator", Map.of("class_name", "AllowAllAuthenticator")) + .set("authorizer", Map.of("class_name", "AllowAllAuthorizer")) + .set("role_manager", Map.of("class_name", "CassandraRoleManager")) + .set("network_authorizer", Map.of("class_name", "AllowAllNetworkAuthorizer")) + .set("key_cache_size", "0MiB") .set("memtable_allocation_type", "offheap_objects")