DomGarguilo commented on code in PR #6195:
URL: https://github.com/apache/accumulo/pull/6195#discussion_r2912954461
##########
test/src/main/java/org/apache/accumulo/test/NamespacesIT.java:
##########
@@ -411,9 +411,8 @@ public void verifyIteratorInheritance() throws Exception {
EnumSet.allOf(IteratorScope.class));
c.namespaceOperations().attachIterator(namespace, setting);
sleepUninterruptibly(2, TimeUnit.SECONDS);
- var e = assertThrows(AccumuloException.class, () ->
c.namespaceOperations()
- .checkIteratorConflicts(namespace, setting,
EnumSet.allOf(IteratorScope.class)));
- assertEquals(IllegalArgumentException.class, e.getCause().getClass());
+ c.namespaceOperations().checkIteratorConflicts(namespace, setting,
Review Comment:
the test expected `checkIteratorConflicts()` to throw after the same
iterator had already been attached but that stopped being a correct assumption
once `IteratorConfigUtil.checkIteratorConflicts()` started treating an exact
match as non-conflicting
I think this came from 9d1377c756 but fixing it here since its related
--
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]