This is an automated email from the ASF dual-hosted git repository. ddanielr 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 87ef58450d Shorten test runtime (#5539) 87ef58450d is described below commit 87ef58450d649e0760e7cdfdfbec8401ceffb68c Author: Daniel Roberts <ddani...@gmail.com> AuthorDate: Wed May 14 14:03:22 2025 -0400 Shorten test runtime (#5539) This IT would take about 7 minutes to run since it would produce three failed compactions and then complete on the fourth run. Lowered the rows after flush to reduce the number of files in the compaction jobs to lower test runtime to about a minute. --- .../org/apache/accumulo/test/compaction/ExternalCompaction4_IT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction4_IT.java b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction4_IT.java index 29e6d648f5..d2d9df3a8a 100644 --- a/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction4_IT.java +++ b/test/src/main/java/org/apache/accumulo/test/compaction/ExternalCompaction4_IT.java @@ -112,13 +112,13 @@ public class ExternalCompaction4_IT extends AccumuloClusterHarness { client.tableOperations().setProperty(table1, TABLE_MAJC_RATIO.getKey(), "1001"); TableId tid = TableId.of(client.tableOperations().tableIdMap().get(table1)); - ReadWriteIT.ingest(client, 1000, 1, 1, 0, "colf", table1, 1); + ReadWriteIT.ingest(client, 1000, 1, 1, 0, "colf", table1, 20); Ample ample = ((ClientContext) client).getAmple(); try ( TabletsMetadata tms = ample.readTablets().forTable(tid).fetch(ColumnType.FILES).build()) { TabletMetadata tm = tms.iterator().next(); - assertEquals(1000, tm.getFiles().size()); + assertEquals(50, tm.getFiles().size()); } IteratorSetting setting = new IteratorSetting(50, "error", ErrorThrowingIterator.class); @@ -132,7 +132,7 @@ public class ExternalCompaction4_IT extends AccumuloClusterHarness { assertEquals(1, tm.getFiles().size()); } - ReadWriteIT.verify(client, 1000, 1, 1, 0, table1); + ReadWriteIT.verify(client, 50, 1, 1, 0, table1); } finally { getCluster().getClusterControl().stopAllServers(ServerType.COMPACTOR);