This is an automated email from the ASF dual-hosted git repository.
domgarguilo pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new ab9c420cdc Add unique table names for ParameterizedTest methods (#6031)
ab9c420cdc is described below
commit ab9c420cdc8d40d711ead5bd1c80fff052db114f
Author: Dom G. <[email protected]>
AuthorDate: Mon Dec 22 09:17:52 2025 -0500
Add unique table names for ParameterizedTest methods (#6031)
---
.../java/org/apache/accumulo/test/WriteAfterCloseIT.java | 3 ++-
.../src/main/java/org/apache/accumulo/test/ZombieScanIT.java | 2 +-
.../java/org/apache/accumulo/test/functional/ScannerIT.java | 2 +-
.../test/functional/TabletStateChangeIteratorIT.java | 12 ++++++------
4 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/test/src/main/java/org/apache/accumulo/test/WriteAfterCloseIT.java
b/test/src/main/java/org/apache/accumulo/test/WriteAfterCloseIT.java
index 3fe02e5c76..44c48b1ed6 100644
--- a/test/src/main/java/org/apache/accumulo/test/WriteAfterCloseIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/WriteAfterCloseIT.java
@@ -120,7 +120,8 @@ public class WriteAfterCloseIT extends
AccumuloClusterHarness {
public void testWriteAfterClose(TimeType timeType, boolean killTservers,
long timeout,
boolean useConditionalWriter) throws Exception {
// re #3721 test that tries to cause a write event to happen after a batch
writer is closed
- String table = getUniqueNames(1)[0];
+ String table = getUniqueNames(1)[0] + "_t" + timeType + "_k" +
killTservers + "_to" + timeout
+ + "_c" + useConditionalWriter;
var props = new Properties();
props.putAll(getClientProps());
props.setProperty(Property.GENERAL_RPC_TIMEOUT.getKey(), "1s");
diff --git a/test/src/main/java/org/apache/accumulo/test/ZombieScanIT.java
b/test/src/main/java/org/apache/accumulo/test/ZombieScanIT.java
index 73e6496463..8278805410 100644
--- a/test/src/main/java/org/apache/accumulo/test/ZombieScanIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/ZombieScanIT.java
@@ -257,7 +257,7 @@ public class ZombieScanIT extends ConfigurableMacBase {
return zsmc == -1 || zsmc == 0;
}, 60_000);
- String table = getUniqueNames(1)[0];
+ String table = getUniqueNames(1)[0] + "_" + consistency;
final ServerType serverType = consistency == IMMEDIATE ? TABLET_SERVER :
SCAN_SERVER;
diff --git
a/test/src/main/java/org/apache/accumulo/test/functional/ScannerIT.java
b/test/src/main/java/org/apache/accumulo/test/functional/ScannerIT.java
index 48db8bbe29..0b71ec83c0 100644
--- a/test/src/main/java/org/apache/accumulo/test/functional/ScannerIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/functional/ScannerIT.java
@@ -133,7 +133,7 @@ public class ScannerIT extends ConfigurableMacBase {
@ParameterizedTest
@EnumSource
public void testSessionCleanup(ConsistencyLevel consistency) throws
Exception {
- final String tableName = getUniqueNames(1)[0];
+ final String tableName = getUniqueNames(1)[0] + "_" + consistency;
final ServerType serverType = consistency == IMMEDIATE ? TABLET_SERVER :
SCAN_SERVER;
try (AccumuloClient accumuloClient =
Accumulo.newClient().from(getClientProperties()).build()) {
diff --git
a/test/src/main/java/org/apache/accumulo/test/functional/TabletStateChangeIteratorIT.java
b/test/src/main/java/org/apache/accumulo/test/functional/TabletStateChangeIteratorIT.java
index 64e167c902..1982707cdd 100644
---
a/test/src/main/java/org/apache/accumulo/test/functional/TabletStateChangeIteratorIT.java
+++
b/test/src/main/java/org/apache/accumulo/test/functional/TabletStateChangeIteratorIT.java
@@ -116,12 +116,12 @@ public class TabletStateChangeIteratorIT extends
AccumuloClusterHarness {
try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
String[] tables = getUniqueNames(6);
- final String t1 = tables[0];
- final String t2 = tables[1];
- final String t3 = tables[2];
- final String metaCopy1 = tables[3];
- final String metaCopy2 = tables[4];
- final String metaCopy3 = tables[5];
+ final String t1 = tables[0] + "_" + compressionType;
+ final String t2 = tables[1] + "_" + compressionType;
+ final String t3 = tables[2] + "_" + compressionType;
+ final String metaCopy1 = tables[3] + "_" + compressionType;
+ final String metaCopy2 = tables[4] + "_" + compressionType;
+ final String metaCopy3 = tables[5] + "_" + compressionType;
// create some metadata
createTable(client, t1, true);