Add byteman support for testing in 2.2

patch by yukim; reviewed by Paulo Motta for CASSANDRA-12377


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

Branch: refs/heads/trunk
Commit: bc9af92e801c631ea4588fae1b4d874a70b0716e
Parents: dc8a017
Author: Yuki Morishita <yu...@apache.org>
Authored: Wed Aug 3 20:56:35 2016 -0500
Committer: Yuki Morishita <yu...@apache.org>
Committed: Mon Aug 8 07:53:34 2016 -0500

----------------------------------------------------------------------
 CHANGES.txt |  1 +
 build.xml   | 10 ++++++++++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/bc9af92e/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 5ac79cf..f734476 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.2.8
+ * Add byteman support for testing (CASSANDRA-12377)
  * Fix INSERT JSON, fromJson() support of smallint, tinyint types 
(CASSANDRA-12371)
  * Restore JVM metric export for metric reporters (CASSANDRA-12312)
  * Release sstables of failed stream sessions only when outgoing transfers are 
finished (CASSANDRA-11345)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/bc9af92e/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 1441194..49a0366 100644
--- a/build.xml
+++ b/build.xml
@@ -116,6 +116,8 @@
     <property name="jacoco.finalexecfile" 
value="${jacoco.export.dir}/jacoco.exec" />
     <property name="jacoco.version" value="0.7.5.201505241946"/>
 
+    <property name="byteman.version" value="3.0.3"/>
+
     <property name="ecj.version" value="4.4.2"/>
 
     <condition property="maven-ant-tasks.jar.exists">
@@ -390,6 +392,11 @@
           <dependency groupId="org.jacoco" artifactId="org.jacoco.agent" 
version="${jacoco.version}"/>
           <dependency groupId="org.jacoco" artifactId="org.jacoco.ant" 
version="${jacoco.version}"/>
 
+          <dependency groupId="org.jboss.byteman" artifactId="byteman" 
version="${byteman.version}" scope="test"/>
+          <dependency groupId="org.jboss.byteman" artifactId="byteman-submit" 
version="${byteman.version}" scope="test"/>
+          <dependency groupId="org.jboss.byteman" artifactId="byteman-bmunit" 
version="${byteman.version}" scope="test"/>
+
+
           <dependency groupId="org.openjdk.jmh" artifactId="jmh-core" 
version="1.1.1"/>
           <dependency groupId="org.openjdk.jmh" 
artifactId="jmh-generator-annprocess" version="1.1.1"/>
 
@@ -504,6 +511,9 @@
         <dependency groupId="net.sourceforge.cobertura" 
artifactId="cobertura"/>
         <dependency groupId="org.jacoco" artifactId="org.jacoco.agent"/>
         <dependency groupId="org.jacoco" artifactId="org.jacoco.ant"/>
+        <dependency groupId="org.jboss.byteman" artifactId="byteman" 
scope="test"/>
+        <dependency groupId="org.jboss.byteman" artifactId="byteman-submit" 
scope="test"/>
+        <dependency groupId="org.jboss.byteman" artifactId="byteman-bmunit" 
scope="test"/>
       </artifact:pom>
 
       <artifact:pom id="test-deps-pom"

Reply via email to