This is an automated email from the ASF dual-hosted git repository.
domgarguilo 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 2161fb8a61 Add unique table names for ParameterizedTest methods (#6034)
2161fb8a61 is described below
commit 2161fb8a61c592295c393520efe855bb5f6d8eac
Author: Dom G. <[email protected]>
AuthorDate: Mon Dec 22 17:59:54 2025 -0500
Add unique table names for ParameterizedTest methods (#6034)
---
.../org/apache/accumulo/test/ImportExportIT.java | 10 ++++++----
.../java/org/apache/accumulo/test/RecoveryIT.java | 2 +-
.../test/functional/TabletManagementIteratorIT.java | 20 ++++++++++----------
3 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/test/src/main/java/org/apache/accumulo/test/ImportExportIT.java
b/test/src/main/java/org/apache/accumulo/test/ImportExportIT.java
index a091f7cc74..a017289794 100644
--- a/test/src/main/java/org/apache/accumulo/test/ImportExportIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/ImportExportIT.java
@@ -211,7 +211,9 @@ public class ImportExportIT extends AccumuloClusterHarness {
public void testExportImportThenScan(boolean fenced) throws Exception {
try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
String[] tableNames = getUniqueNames(2);
- doExportImportThenScan(fenced, client, tableNames[0], tableNames[1]);
+ String tableName1 = tableNames[0] + "_" + fenced;
+ String tableName2 = tableNames[1] + "_" + fenced;
+ doExportImportThenScan(fenced, client, tableName1, tableName2);
}
}
@@ -223,7 +225,7 @@ public class ImportExportIT extends AccumuloClusterHarness {
client.namespaceOperations().create(ns1);
String ns2 = "namespace2";
client.namespaceOperations().create(ns2);
- String tableName = getUniqueNames(1)[0];
+ String tableName = getUniqueNames(1)[0] + "_" + fenced;
doExportImportThenScan(fenced, client, ns1 + "." + tableName, ns2 + "."
+ tableName);
}
}
@@ -234,8 +236,8 @@ public class ImportExportIT extends AccumuloClusterHarness {
try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
String[] tableNames = getUniqueNames(2);
- String srcTable = tableNames[0];
- String destTable = tableNames[1];
+ String srcTable = tableNames[0] + "_" + fenced;
+ String destTable = tableNames[1] + "_" + fenced;
client.tableOperations().create(srcTable);
try (BatchWriter bw = client.createBatchWriter(srcTable)) {
diff --git a/test/src/main/java/org/apache/accumulo/test/RecoveryIT.java
b/test/src/main/java/org/apache/accumulo/test/RecoveryIT.java
index 0c3600eac9..07133ff308 100644
--- a/test/src/main/java/org/apache/accumulo/test/RecoveryIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/RecoveryIT.java
@@ -114,7 +114,7 @@ public class RecoveryIT extends AccumuloClusterHarness {
super.setupCluster();
// create a table
- String tableName = getUniqueNames(1)[0];
+ String tableName = getUniqueNames(1)[0] + "_" + serverForSorting;
try (AccumuloClient c =
Accumulo.newClient().from(getClientProps()).build()) {
SortedSet<Text> splits = new TreeSet<>();
diff --git
a/test/src/main/java/org/apache/accumulo/test/functional/TabletManagementIteratorIT.java
b/test/src/main/java/org/apache/accumulo/test/functional/TabletManagementIteratorIT.java
index 1042e7b5fe..05155bfdab 100644
---
a/test/src/main/java/org/apache/accumulo/test/functional/TabletManagementIteratorIT.java
+++
b/test/src/main/java/org/apache/accumulo/test/functional/TabletManagementIteratorIT.java
@@ -150,16 +150,16 @@ public class TabletManagementIteratorIT extends
AccumuloClusterHarness {
try (AccumuloClient client =
Accumulo.newClient().from(getClientProps()).build()) {
String[] tables = getUniqueNames(10);
- final String t1 = tables[0];
- final String t2 = tables[1];
- final String t3 = tables[2];
- final String t4 = tables[3];
- final String metaCopy1 = tables[4];
- final String metaCopy2 = tables[5];
- final String metaCopy3 = tables[6];
- final String metaCopy4 = tables[7];
- final String metaCopy5 = tables[8];
- final String metaCopy6 = tables[9];
+ final String t1 = tables[0] + "_" + compressionType;
+ final String t2 = tables[1] + "_" + compressionType;
+ final String t3 = tables[2] + "_" + compressionType;
+ final String t4 = tables[3] + "_" + compressionType;
+ final String metaCopy1 = tables[4] + "_" + compressionType;
+ final String metaCopy2 = tables[5] + "_" + compressionType;
+ final String metaCopy3 = tables[6] + "_" + compressionType;
+ final String metaCopy4 = tables[7] + "_" + compressionType;
+ final String metaCopy5 = tables[8] + "_" + compressionType;
+ final String metaCopy6 = tables[9] + "_" + compressionType;
// create some metadata
createTable(client, t1, true);