You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sp...@apache.org on 2017/12/19 09:21:07 UTC

cassandra git commit: Add long-testsome target to run specific long test

Repository: cassandra
Updated Branches:
  refs/heads/trunk 7a320260e -> 6cd400933


Add long-testsome target to run specific long test

patch by Jay Zhuang; reviewed by Stefan Podkowinski for CASSANDRA-14111


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/6cd40093
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/6cd40093
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/6cd40093

Branch: refs/heads/trunk
Commit: 6cd40093330bd6b4e9c02fc98dc69e8ff1444e26
Parents: 7a32026
Author: Jay Zhuang <ja...@yahoo.com>
Authored: Tue Dec 12 18:47:18 2017 +0000
Committer: Stefan Podkowinski <st...@1und1.de>
Committed: Tue Dec 19 10:19:23 2017 +0100

----------------------------------------------------------------------
 build.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/6cd40093/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 6726083..b14d234 100644
--- a/build.xml
+++ b/build.xml
@@ -1282,6 +1282,17 @@
     </testmacro>
   </target>
 
+  <!-- Use this with an FQDN for test class, and a csv list of methods like this:
+    ant long-testsome -Dtest.name=org.apache.cassandra.cql3.ViewLongTest -Dtest.methods=testConflictResolution
+  -->
+  <target name="long-testsome" depends="build-test" description="Execute specific long unit tests" >
+    <testmacro inputdir="${test.long.src}" timeout="${test.long.timeout}">
+      <test name="${test.name}" methods="${test.methods}"/>
+      <jvmarg value="-Dcassandra.ring_delay_ms=1000"/>
+      <jvmarg value="-Dcassandra.tolerate_sstable_size=true"/>
+    </testmacro>
+  </target>
+
   <target name="test-compression" depends="build-test,stress-build" description="Execute unit tests with sstable compression enabled">
     <property name="compressed_yaml" value="${build.test.dir}/cassandra.compressed.yaml"/>
     <concat destfile="${compressed_yaml}">


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