Accord: Fix issue where 3 tests would crash consistently in CI

patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-20543
This commit is contained in:
David Capwell 2025-04-09 12:01:03 -07:00
parent e87d5e5020
commit 49740f87d2
1 changed files with 2 additions and 3 deletions

View File

@ -1313,9 +1313,8 @@
<macrodef name="testlist">
<attribute name="test.file.list"/>
<sequential>
<condition property="maxMemory" value="8G" else="4G">
<equals arg1="${test.classlistprefix}" arg2="distributed"/>
</condition>
<!-- 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" />
<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"/>