Skip to content

Commit f889e22

Browse files
jknidjatnieks
authored andcommitted
CNDB-13624: Silence snakeyaml warnings in test-cdc by removing duplicate cdc_enabled key in base yaml (#1680)
### What is the issue #1563 upgraded our version of snakeyaml. This new version logs when duplicate keys are found. The test-cdc target concatenates a CDC-specific yaml to the base yaml. Both contain entries for the cdc_enabled key, causing tests that load this yaml to log the warning. This causes CDC CI failures. ### What does this PR fix and why was it fixed This PR removes the cdc_enabled entry in the base yaml, as it's the same as the default. This is consistent with how we handle other default keys that might be duplicated across multiple yaml fragments in the test commands.
1 parent fea80e8 commit f889e22

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/conf/cassandra.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ commitlog_disk_access_mode: legacy
1313
# commitlog_compression:
1414
# - class_name: LZ4Compressor
1515
cdc_raw_directory: build/test/cassandra/cdc_raw
16-
cdc_enabled: false
1716
hints_directory: build/test/cassandra/hints
1817
metadata_directory: build/test/cassandra/metadata
1918
partitioner: org.apache.cassandra.dht.ByteOrderedPartitioner

0 commit comments

Comments
 (0)