Maxwell-Guo commented on code in PR #4260:
URL: https://github.com/apache/cassandra/pull/4260#discussion_r2213476658
##########
test/unit/org/apache/cassandra/schema/CreateTableValidationTest.java:
##########
@@ -156,6 +156,13 @@ public void testCreateTableWithMissingClusteringColumn()
"Missing CLUSTERING ORDER for column ck1");
}
+ @Test
+ public void testInvalidCompactionOptions()
+ {
+ expectedFailure(ConfigurationException.class, "CREATE TABLE %s (k int
PRIMARY KEY, v int) WITH compaction = {'class': 'LeveledCompactionStrategy',
'fanout_size': '90', 'sstable_size_in_mb': '1089'}",
Review Comment:
expectedFailure function do not need ConfigurationException.class argument.
i will remove this at merge time.
--
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]