Skip to content

Commit 18fe538

Browse files
authored
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 5cb23da commit 18fe538

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
@@ -12,7 +12,6 @@ commitlog_directory: build/test/cassandra/commitlog
1212
# commitlog_compression:
1313
# - class_name: LZ4Compressor
1414
cdc_raw_directory: build/test/cassandra/cdc_raw
15-
cdc_enabled: false
1615
hints_directory: build/test/cassandra/hints
1716
metadata_directory: build/test/cassandra/metadata
1817
partitioner: org.apache.cassandra.dht.ByteOrderedPartitioner

0 commit comments

Comments
 (0)