This is an automated email from the ASF dual-hosted git repository.
jmark99 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 9ec0087069 Correcting error introduced when merging 2.1 branch
9ec0087069 is described below
commit 9ec008706927533adcd95a8e1ded43735836cdab
Author: Mark Owens <[email protected]>
AuthorDate: Wed Jun 5 14:41:56 2024 +0000
Correcting error introduced when merging 2.1 branch
Correct reference to MetaDataTable name when merging 2.1 branch into
main. Error was introduced in the new PrintInfoIT tests.
---
test/src/main/java/org/apache/accumulo/test/PrintInfoIT.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/src/main/java/org/apache/accumulo/test/PrintInfoIT.java
b/test/src/main/java/org/apache/accumulo/test/PrintInfoIT.java
index 459beb9ea1..6544135053 100644
--- a/test/src/main/java/org/apache/accumulo/test/PrintInfoIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/PrintInfoIT.java
@@ -43,7 +43,7 @@ import org.apache.accumulo.core.data.Mutation;
import org.apache.accumulo.core.data.Range;
import org.apache.accumulo.core.data.Value;
import org.apache.accumulo.core.file.rfile.PrintInfo;
-import org.apache.accumulo.core.metadata.MetadataTable;
+import org.apache.accumulo.core.metadata.AccumuloTable;
import org.apache.accumulo.core.metadata.schema.MetadataSchema;
import org.apache.accumulo.core.security.Authorizations;
import org.apache.accumulo.core.security.ColumnVisibility;
@@ -170,7 +170,7 @@ public class PrintInfoIT extends SharedMiniClusterBase {
boolean foundFile = false;
String rfileName = null;
try (BatchScanner bscanner =
- client.createBatchScanner(MetadataTable.NAME, Authorizations.EMPTY,
1)) {
+ client.createBatchScanner(AccumuloTable.METADATA.tableName(),
Authorizations.EMPTY, 1)) {
String tableId = client.tableOperations().tableIdMap().get(tableName);
bscanner.setRanges(
Collections.singletonList(new Range(new Text(tableId + ";"), new
Text(tableId + "<"))));