maedhroz commented on code in PR #2660:
URL: https://github.com/apache/cassandra/pull/2660#discussion_r1319349172
##########
test/unit/org/apache/cassandra/config/YamlConfigurationLoaderTest.java:
##########
@@ -49,6 +50,96 @@
public class YamlConfigurationLoaderTest
{
+ @Test
+ public void repairRetryEmpty()
+ {
+ RepairRetrySpec repair_retries = loadRepairRetry(ImmutableMap.of());
+ // repair is empty
+ assertThat(repair_retries.isEnabled()).isFalse();
+ for (RepairRetrySpec.Verb v : RepairRetrySpec.Verb.values())
+ assertThat(repair_retries.get(v).isEnabled()).isFalse();
+ }
+
+ @Test
+ public void repairRetryInheritance()
+ {
+ RepairRetrySpec repair_retries =
loadRepairRetry(ImmutableMap.of("type", "Expoential",
Review Comment:
```suggestion
RepairRetrySpec repair_retries =
loadRepairRetry(ImmutableMap.of("type", "Exponential",
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]