This is an automated email from the ASF dual-hosted git repository. dlmarion pushed a commit to branch elasticity in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/elasticity by this push: new 31dad7bd65 Fix TabletManagementIteratorIT log volume replacements test (#4010) 31dad7bd65 is described below commit 31dad7bd65eed221bc823ff42bb8a6dfc0824a28 Author: Dave Marion <dlmar...@apache.org> AuthorDate: Mon Dec 4 07:45:47 2023 -0500 Fix TabletManagementIteratorIT log volume replacements test (#4010) Modify filename used to create the log entry, such that it is now a fully qualified path Fixes #4004 --- .../accumulo/test/functional/TabletManagementIteratorIT.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 5839a95b04..7785aa58ca 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 @@ -93,7 +93,6 @@ import org.slf4j.LoggerFactory; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; -import com.google.common.net.HostAndPort; /** * Test to ensure that the {@link TabletManagementIterator} properly skips over tablet information @@ -102,8 +101,6 @@ import com.google.common.net.HostAndPort; public class TabletManagementIteratorIT extends AccumuloClusterHarness { private final static Logger log = LoggerFactory.getLogger(TabletManagementIteratorIT.class); - private final HostAndPort validHost = HostAndPort.fromParts("default", 8080); - @Override protected Duration defaultTimeout() { return Duration.ofMinutes(3); @@ -447,8 +444,8 @@ public class TabletManagementIteratorIT extends AccumuloClusterHarness { TableId.of(client.tableOperations().tableIdMap().get(tableNameToModify)); KeyExtent extent = new KeyExtent(tableIdToModify, new Text("some split"), null); Mutation m = new Mutation(extent.toMetaRow()); - LogEntry logEntry = new LogEntry( - java.nio.file.Path.of(validHost.toString(), UUID.randomUUID().toString()).toString()); + String fileName = "file:/accumulo/wal/localhost+9997/" + UUID.randomUUID().toString(); + LogEntry logEntry = new LogEntry(fileName); m.at().family(LogColumnFamily.NAME).qualifier(logEntry.getColumnQualifier()) .put(logEntry.getValue()); try (BatchWriter bw = client.createBatchWriter(table)) {