You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2026/10/20 00:24:26 UTC

(accumulo) branch main updated: Remove unnecessary dependency on opentest4j

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

asf-gitbox-commits 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 b3c6e848ef Remove unnecessary dependency on opentest4j
b3c6e848ef is described below

commit b3c6e848ef627fd763990bb9ec0f0c7748822d26
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Mon Oct 19 20:23:28 2026 -0400

    Remove unnecessary dependency on opentest4j
---
 .../resources/org/apache/accumulo/monitor/resources/js/functions.js  | 2 +-
 test/pom.xml                                                         | 5 -----
 test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java   | 3 +--
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
index 832948f6bf..8a5815bb1e 100644
--- a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
+++ b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
@@ -578,7 +578,7 @@ function getComponentStatus(statusData, componentType) {
   if (!statusData || !statusData.componentStatuses) {
     return 'ERROR';
   }
-  
+
   const status = statusData.componentStatuses[componentType];
 
   // scan servers are optional, so having none is not an error
diff --git a/test/pom.xml b/test/pom.xml
index a9158727c2..d04bc6a650 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -232,11 +232,6 @@
       <groupId>org.junit.platform</groupId>
       <artifactId>junit-platform-suite-api</artifactId>
     </dependency>
-    <dependency>
-      <groupId>org.opentest4j</groupId>
-      <artifactId>opentest4j</artifactId>
-      <version>1.3.0</version>
-    </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
diff --git a/test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java b/test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java
index a60729cbb3..ce18e3f606 100644
--- a/test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java
@@ -45,7 +45,6 @@ import org.apache.accumulo.test.harness.AccumuloClusterHarness;
 import org.apache.accumulo.test.util.Wait;
 import org.apache.hadoop.conf.Configuration;
 import org.junit.jupiter.api.Test;
-import org.opentest4j.AssertionFailedError;
 
 public class UpgradeIT extends AccumuloClusterHarness {
 
@@ -125,7 +124,7 @@ public class UpgradeIT extends AccumuloClusterHarness {
     Wait.waitFor(() -> getServerContext().getServerPaths()
         .getTabletServer(ResourceGroupPredicate.ANY, AddressSelector.all(), true).size() == 0);
 
-    assertThrows(AssertionFailedError.class,
+    assertThrows(AssertionError.class,
         () -> assertTimeoutPreemptively(Duration.ofMinutes(2), () -> getCluster().start()));
 
     // Confirm no servers started