This is an automated email from the ASF dual-hosted git repository. kturner 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 964834ec65 fixes TabletAvailabilityIT exception check (#5598) 964834ec65 is described below commit 964834ec6564f553781fa917a6bd9daf8826c503 Author: Keith Turner <ktur...@apache.org> AuthorDate: Fri May 30 17:06:02 2025 -0400 fixes TabletAvailabilityIT exception check (#5598) --- .../java/org/apache/accumulo/test/functional/TabletAvailabilityIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/main/java/org/apache/accumulo/test/functional/TabletAvailabilityIT.java b/test/src/main/java/org/apache/accumulo/test/functional/TabletAvailabilityIT.java index da766dc7a8..b8e1e4c288 100644 --- a/test/src/main/java/org/apache/accumulo/test/functional/TabletAvailabilityIT.java +++ b/test/src/main/java/org/apache/accumulo/test/functional/TabletAvailabilityIT.java @@ -35,6 +35,7 @@ import java.util.TreeSet; import org.apache.accumulo.core.client.Accumulo; import org.apache.accumulo.core.client.AccumuloClient; +import org.apache.accumulo.core.client.AccumuloException; import org.apache.accumulo.core.client.InvalidTabletHostingRequestException; import org.apache.accumulo.core.client.MutationsRejectedException; import org.apache.accumulo.core.client.ScannerBase; @@ -54,7 +55,7 @@ public class TabletAvailabilityIT extends AccumuloClusterHarness { public void testSystemFails() throws Exception { try (AccumuloClient client = Accumulo.newClient().from(getClientProps()).build()) { for (SystemTables t : SystemTables.values()) { - assertThrows(IllegalArgumentException.class, () -> client.tableOperations() + assertThrows(AccumuloException.class, () -> client.tableOperations() .setTabletAvailability(t.tableName(), new Range(), UNHOSTED)); } }