kevinrr888 commented on code in PR #5990:
URL: https://github.com/apache/accumulo/pull/5990#discussion_r2583340618
##########
test/src/main/java/org/apache/accumulo/test/NewTableConfigurationIT.java:
##########
@@ -517,6 +518,23 @@ public void testNtcChaining() throws AccumuloException,
AccumuloSecurityExceptio
}
}
+ @Test
+ public void testIteratorConflictsWithDefault() throws Exception {
+ String[] tableNames = getUniqueNames(2);
+ String table1 = tableNames[0];
+ String table2 = tableNames[1];
+ try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
+ // add an iterator with same priority as the default iterator
+ var iterator1 = new IteratorSetting(20, "foo", "foo.bar");
+ assertThrows(IllegalArgumentException.class, () ->
client.tableOperations().create(table1,
Review Comment:
I opted to make the checks stricter. Added in
10e10795c3610f8a6d1a787fd0db8dd0cb29bd8d
--
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]