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 bbc8e82031 Fixed failing test in UpgradeIT (#6599)
bbc8e82031 is described below
commit bbc8e82031ffd50ff63944ae7a1e00767eadebaa
Author: Dave Marion <[email protected]>
AuthorDate: Mon Oct 19 13:51:16 2026 -0400
Fixed failing test in UpgradeIT (#6599)
The exception type being thrown has changed due to recent
changes.
---
test/pom.xml | 5 +++++
test/src/main/java/org/apache/accumulo/test/upgrade/UpgradeIT.java | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/test/pom.xml b/test/pom.xml
index d04bc6a650..a9158727c2 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -232,6 +232,11 @@
<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 5554d6e2de..a60729cbb3 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,6 +45,7 @@ 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 {
@@ -124,7 +125,7 @@ public class UpgradeIT extends AccumuloClusterHarness {
Wait.waitFor(() -> getServerContext().getServerPaths()
.getTabletServer(ResourceGroupPredicate.ANY, AddressSelector.all(),
true).size() == 0);
- assertThrows(IllegalStateException.class,
+ assertThrows(AssertionFailedError.class,
() -> assertTimeoutPreemptively(Duration.ofMinutes(2), () ->
getCluster().start()));
// Confirm no servers started