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:12:22 UTC

cassandra git commit: Add helper comments for unittest debugging

Repository: cassandra
Updated Branches:
  refs/heads/trunk 8b9b72deb -> 7a320260e


Add helper comments for unittest debugging

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


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

Branch: refs/heads/trunk
Commit: 7a320260e0c8446f1afcf8f67b13470b60842934
Parents: 8b9b72d
Author: Jay Zhuang <ja...@yahoo.com>
Authored: Fri Dec 23 13:20:47 2016 -0800
Committer: Stefan Podkowinski <st...@1und1.de>
Committed: Tue Dec 19 10:08:40 2017 +0100

----------------------------------------------------------------------
 build.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7a320260/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 5dee75d..6726083 100644
--- a/build.xml
+++ b/build.xml
@@ -1145,7 +1145,11 @@
         <jvmarg value="-Djava.security.egd=file:/dev/urandom" />
         <jvmarg value="-Dcassandra.testtag=@{testtag}"/>
         <jvmarg value="-Dcassandra.keepBriefBrief=${cassandra.keepBriefBrief}" />
-	<optjvmargs/>
+        <optjvmargs/>
+        <!-- Uncomment to debug unittest, attach debugger to port 1416 -->
+        <!--
+        <jvmarg line="-agentlib:jdwp=transport=dt_socket,address=localhost:1416,server=y,suspend=y" />
+        -->
         <classpath>
           <pathelement path="${java.class.path}"/>
           <pathelement location="${stress.build.classes}"/>


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