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

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


The following commit(s) were added to refs/heads/elasticity by this push:
     new 4e8e9458f7 Fix disabled test in LargeSplitRowIT (#4014)
4e8e9458f7 is described below

commit 4e8e9458f7d5d1ad4e715067c638c930c5a6bf36
Author: Dave Marion <dlmar...@apache.org>
AuthorDate: Mon Dec 4 11:48:11 2023 -0500

    Fix disabled test in LargeSplitRowIT (#4014)
---
 test/src/main/java/org/apache/accumulo/test/LargeSplitRowIT.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/src/main/java/org/apache/accumulo/test/LargeSplitRowIT.java 
b/test/src/main/java/org/apache/accumulo/test/LargeSplitRowIT.java
index 343315ae88..37e6816ee8 100644
--- a/test/src/main/java/org/apache/accumulo/test/LargeSplitRowIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/LargeSplitRowIT.java
@@ -35,10 +35,10 @@ import java.util.function.Predicate;
 
 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.BatchWriter;
 import org.apache.accumulo.core.client.Scanner;
 import org.apache.accumulo.core.client.admin.NewTableConfiguration;
-import org.apache.accumulo.core.clientImpl.AccumuloServerException;
 import org.apache.accumulo.core.clientImpl.Namespace;
 import org.apache.accumulo.core.conf.ConfigurationTypeHelper;
 import org.apache.accumulo.core.conf.Property;
@@ -51,7 +51,6 @@ import 
org.apache.accumulo.test.functional.ConfigurableMacBase;
 import org.apache.accumulo.test.util.Wait;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.io.Text;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.Timeout;
 import org.slf4j.Logger;
@@ -72,7 +71,6 @@ public class LargeSplitRowIT extends ConfigurableMacBase {
 
   // User added split
   @Test
-  @Disabled // ELASTICITY_TODO
   public void userAddedSplit() throws Exception {
 
     log.info("User added split");
@@ -98,7 +96,7 @@ public class LargeSplitRowIT extends ConfigurableMacBase {
       partitionKeys.add(new Text(data));
 
       // try to add the split point that is too large, if the split point is 
created the test fails.
-      assertThrows(AccumuloServerException.class,
+      assertThrows(AccumuloException.class,
           () -> client.tableOperations().addSplits(tableName, partitionKeys));
 
       // Make sure that the information that was written to the table before 
we tried to add the

Reply via email to