You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2021/12/10 18:08:07 UTC

[accumulo] branch main updated: Fix external compaction IT that was not completing and running forever (#2378)

This is an automated email from the ASF dual-hosted git repository.

dlmarion 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 de54ed9  Fix external compaction IT that was not completing and running forever (#2378)
de54ed9 is described below

commit de54ed96041581a916a36e3395123d048c22f0c9
Author: Dave Marion <dl...@apache.org>
AuthorDate: Fri Dec 10 13:07:59 2021 -0500

    Fix external compaction IT that was not completing and running forever (#2378)
---
 .../org/apache/accumulo/test/compaction/ExternalCompaction_3_IT.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_3_IT.java b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_3_IT.java
index 6fc53af..3db8093 100644
--- a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_3_IT.java
+++ b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction_3_IT.java
@@ -179,6 +179,10 @@ public class ExternalCompaction_3_IT extends AccumuloClusterHarness
       }
       assertTrue(matches > 0);
 
+      // Delete the table to cancel the running compaction, else the ExternalDoNothingCompactor
+      // will run forever
+      client.tableOperations().delete(table1);
+
     }
   }