This is an automated email from the ASF dual-hosted git repository.
dlmarion 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 516096ce44 Fix testDeletingClonedTablePersistsFiles apache#6473 (#6483)
516096ce44 is described below
commit 516096ce44c83078eab2a597f8df5472ec42d233
Author: Amanda Villarreal <[email protected]>
AuthorDate: Fri Jul 24 10:57:32 2026 -0500
Fix testDeletingClonedTablePersistsFiles apache#6473 (#6483)
The existing check for 4 files is correct if the garbage
collector does not run. If it does run, then those 4 files
will be removed. Updated the check to reflect both
conditions.
---
.../apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/test/src/main/java/org/apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java
b/test/src/main/java/org/apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java
index 907d4453f8..98c9213e9a 100644
---
a/test/src/main/java/org/apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java
+++
b/test/src/main/java/org/apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java
@@ -258,7 +258,8 @@ public class DeleteAndVerifyFileRemovalsIT extends
ConfigurableMacBase {
// A GcCandidate for each tablet directory should exist until the shared
references are
// compacted.
- Wait.waitFor(() -> countGcCandidates(sourceTableId, 4), GC_MAX_WAIT,
POLLING_WAIT);
+ Wait.waitFor(() -> countGcCandidates(sourceTableId, 4) ||
countGcCandidates(sourceTableId, 0),
+ GC_MAX_WAIT, POLLING_WAIT);
client.tableOperations().compact(cloneTable, new
CompactionConfig().setWait(true));