This is an automated email from the ASF dual-hosted git repository.
keith-turner 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 03bc05249b fixes ExternalTabletFileIT (#6672)
03bc05249b is described below
commit 03bc05249b7481099a547697ac1e9acf9867d6d4
Author: Keith Turner <[email protected]>
AuthorDate: Tue Nov 24 12:38:59 2026 -0500
fixes ExternalTabletFileIT (#6672)
Test was broken by changes in #6663 which made the GC code look for
specific directories before a tablet file.
---
test/src/main/java/org/apache/accumulo/test/ExternalTabletFileIT.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/test/src/main/java/org/apache/accumulo/test/ExternalTabletFileIT.java
b/test/src/main/java/org/apache/accumulo/test/ExternalTabletFileIT.java
index 37484d25e5..23555e9b98 100644
--- a/test/src/main/java/org/apache/accumulo/test/ExternalTabletFileIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/ExternalTabletFileIT.java
@@ -62,6 +62,8 @@ public class ExternalTabletFileIT extends ConfigurableMacBase
{
cfg.useMiniDFS(true);
cfg.setProperty(Property.GC_CYCLE_START, "1s");
cfg.setProperty(Property.GC_CYCLE_DELAY, "1s");
+ // make locks expire faster, makes test that kills GC process run faster
+ cfg.setProperty(Property.INSTANCE_ZK_TIMEOUT, "10s");
super.configure(cfg, hadoopCoreSite);
}
@@ -159,7 +161,7 @@ public class ExternalTabletFileIT extends
ConfigurableMacBase {
}
private Path writeRFile(FileSystem fs, String name) throws Exception {
- Path externalFile = fs.makeQualified(new Path("/external-rfiles/" + name +
".rf"));
+ Path externalFile = fs.makeQualified(new Path("/external-rfiles/b-000001/"
+ name + ".rf"));
fs.mkdirs(externalFile.getParent());
try (RFileWriter writer =
RFile.newWriter().to(externalFile.toString()).withFileSystem(fs).build()) {