You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2021/04/09 15:21:37 UTC

[GitHub] [cassandra] michaelsembwever commented on a change in pull request #957: CASSANDRA-16575: Refactor unit test configurations

michaelsembwever commented on a change in pull request #957:
URL: https://github.com/apache/cassandra/pull/957#discussion_r610713357



##########
File path: build.xml
##########
@@ -1444,75 +1447,6 @@
     </sequential>
   </macrodef>
 
-  <!-- Will not generate a junit report or fail on error since it is called in parallel for test-compression
-       That is taken care of by testparallel -->
-  <macrodef name="testlist-compression">
-    <attribute name="test.file.list" />
-    <attribute name="testlist.offset" />
-    <sequential>
-      <property name="compressed_yaml" value="${build.test.dir}/cassandra.compressed.yaml"/>
-      <concat destfile="${compressed_yaml}">
-          <fileset file="${test.conf}/cassandra.yaml"/>
-          <fileset file="${test.conf}/commitlog_compression.yaml"/>
-      </concat>
-      <testmacrohelper inputdir="${test.unit.src}" filelist="@{test.file.list}" poffset="@{testlist.offset}"
-                       exclude="**/*.java" timeout="${test.timeout}" testtag="compression">
-        <jvmarg value="-Dlegacy-sstable-root=${test.data}/legacy-sstables"/>
-        <jvmarg value="-Dinvalid-legacy-sstable-root=${test.data}/invalid-legacy-sstables"/>
-        <jvmarg value="-Dcassandra.test.compression=true"/>
-        <jvmarg value="-Dcassandra.ring_delay_ms=1000"/>
-        <jvmarg value="-Dcassandra.tolerate_sstable_size=true"/>
-        <jvmarg value="-Dcassandra.config=file:///${compressed_yaml}"/>
-        <jvmarg value="-Dcassandra.skip_sync=true" />
-        <jvmarg value="-Dcassandra.config.loader=org.apache.cassandra.OffsetAwareConfigurationLoader"/>
-      </testmacrohelper>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="testlist-cdc">
-    <attribute name="test.file.list" />
-    <attribute name="testlist.offset" />
-    <sequential>
-      <property name="cdc_yaml" value="${build.test.dir}/cassandra.cdc.yaml"/>
-      <concat destfile="${cdc_yaml}">
-        <fileset file="${test.conf}/cassandra.yaml"/>
-        <fileset file="${test.conf}/cdc.yaml"/>

Review comment:
       is there any way of maintaining this feature?  it is cumbersome to keep all the different test cassandra.yaml's up to dateā€¦ 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org