This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch cep-15-accord in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cep-15-accord by this push: new ba459682a9 Accord: switch back to 1g heap to keep CI stable ba459682a9 is described below commit ba459682a930a675a0db18c7aa77540f4a5e5cfe Author: David Capwell <dcapw...@apache.org> AuthorDate: Mon Apr 14 09:33:24 2025 -0700 Accord: switch back to 1g heap to keep CI stable patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-20553 --- build.xml | 2 +- test/unit/org/apache/cassandra/index/accord/RouteIndexTest.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index 116935d1fd..552d6b471f 100644 --- a/build.xml +++ b/build.xml @@ -1314,7 +1314,7 @@ <attribute name="test.file.list"/> <sequential> <!-- CI normally runs in containers, so bumping this value is not always safe; bumping can cause the JVM to crash due to inability to allocate memory! All changes here must be coordinated with CI memory improvements --> - <property name="maxMemory" value="2G" /> + <property name="maxMemory" value="1G" /> <testmacrohelper inputdir="${test.dir}/${test.classlistprefix}" filelist="@{test.file.list}" exclude="**/*.java" timeout="${test.timeout}" maxmemory="${maxMemory}"> <jvmarg value="-Dlegacy-sstable-root=${test.data}/legacy-sstables"/> <jvmarg value="-Dinvalid-legacy-sstable-root=${test.data}/invalid-legacy-sstables"/> diff --git a/test/unit/org/apache/cassandra/index/accord/RouteIndexTest.java b/test/unit/org/apache/cassandra/index/accord/RouteIndexTest.java index 011998e6ac..963ee402c8 100644 --- a/test/unit/org/apache/cassandra/index/accord/RouteIndexTest.java +++ b/test/unit/org/apache/cassandra/index/accord/RouteIndexTest.java @@ -111,7 +111,7 @@ import static accord.utils.SortedArrays.SortedArrayList.ofSorted; import static org.apache.cassandra.config.DatabaseDescriptor.getPartitioner; import static org.apache.cassandra.schema.SchemaConstants.ACCORD_KEYSPACE_NAME; -public class RouteIndexTest extends CQLTester.InMemory +public class RouteIndexTest extends CQLTester { private static final Node.Id NODE = new Node.Id(42); private static final int MIN_TOKEN = 0; @@ -130,8 +130,6 @@ public class RouteIndexTest extends CQLTester.InMemory // this flag disables that flush CassandraRelevantProperties.UNSAFE_SYSTEM.setBoolean(true); - setupFileSystem(); - DatabaseDescriptor.daemonInitialization(); DatabaseDescriptor.setAccordTransactionsEnabled(true); // disable journal compaction so the test can control when it happens --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org