This is an automated email from the ASF dual-hosted git repository. kturner 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 73107e263d Fix CompactionIT after changes in #4127 (#4134) 73107e263d is described below commit 73107e263d0ec74936e2940d5d035f8f74f7ef5f Author: Christopher L. Shannon <christopher.l.shan...@gmail.com> AuthorDate: Mon Jan 8 11:34:18 2024 -0500 Fix CompactionIT after changes in #4127 (#4134) This increases the value of table.file.max.prop to 1001, which is the value already used by testErrorDuringUserCompaction, so that the tests get the expected values --- .../src/main/java/org/apache/accumulo/test/functional/CompactionIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java b/test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java index 9bff345b17..ec044816b2 100644 --- a/test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java +++ b/test/src/main/java/org/apache/accumulo/test/functional/CompactionIT.java @@ -327,6 +327,7 @@ public class CompactionIT extends AccumuloClusterHarness { final String table1 = this.getUniqueNames(1)[0]; try (AccumuloClient client = Accumulo.newClient().from(getClientProps()).build()) { client.tableOperations().create(table1); + client.tableOperations().setProperty(table1, Property.TABLE_FILE_MAX.getKey(), "1001"); client.tableOperations().setProperty(table1, Property.TABLE_MAJC_RATIO.getKey(), "51"); TableId tid = TableId.of(client.tableOperations().tableIdMap().get(table1)); @@ -581,6 +582,7 @@ public class CompactionIT extends AccumuloClusterHarness { try (AccumuloClient c = Accumulo.newClient().from(getClientProps()).build()) { final String tableName = getUniqueNames(1)[0]; c.tableOperations().create(tableName); + c.tableOperations().setProperty(tableName, Property.TABLE_FILE_MAX.getKey(), "1001"); c.tableOperations().setProperty(tableName, Property.TABLE_MAJC_RATIO.getKey(), "100.0"); var beforeCount = countFiles(c);