This is an automated email from the ASF dual-hosted git repository.

dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 3e73d1aedf Fixed iterator test in ComprehensiveTableOperationsIT 
(#6264)
3e73d1aedf is described below

commit 3e73d1aedf4bd32bac57e1f4a76911cdb73d513e
Author: Dave Marion <[email protected]>
AuthorDate: Fri Mar 27 16:53:29 2026 -0400

    Fixed iterator test in ComprehensiveTableOperationsIT (#6264)
    
    The test was failing because it was expecting an
    exception be thrown if the same iterator settings
    were added to the table again. The code in
    IteratorConfigUtil.checkIteratorConflicts just
    ignores additions that equivalent to the settings
    on the table and does not throw an exception.
---
 .../java/org/apache/accumulo/test/ComprehensiveTableOperationsIT.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/test/src/main/java/org/apache/accumulo/test/ComprehensiveTableOperationsIT.java
 
b/test/src/main/java/org/apache/accumulo/test/ComprehensiveTableOperationsIT.java
index b3fdcbc463..736c5151ed 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/ComprehensiveTableOperationsIT.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/ComprehensiveTableOperationsIT.java
@@ -679,8 +679,7 @@ public class ComprehensiveTableOperationsIT extends 
SharedMiniClusterBase {
         assertNull(ops.getIteratorSetting(table, iterName, 
IteratorUtil.IteratorScope.scan));
         assertEquals(iterSetting,
             ops.getIteratorSetting(table, iterName, 
IteratorUtil.IteratorScope.majc));
-        assertThrows(AccumuloException.class,
-            () -> ops.checkIteratorConflicts(table, iterSetting, scope));
+        ops.checkIteratorConflicts(table, iterSetting, scope);
         ops.checkIteratorConflicts(table, iterSetting, 
EnumSet.of(IteratorUtil.IteratorScope.scan));
       } finally {
         ops.removeIterator(table, iterName, scope);

Reply via email to