commit test/cassandra.in.sh for nosetests

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@769935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2009-04-29 21:10:37 +00:00
parent 49d0fa7ce2
commit 887918ba8e
1 changed files with 37 additions and 0 deletions

37
test/cassandra.in.sh Normal file
View File

@ -0,0 +1,37 @@
cassandra_home=`dirname $0`/..
# The directory where Cassandra's configs live (required)
CASSANDRA_CONF=$cassandra_home/test/conf
# This can be the path to a jar file, or a directory containing the
# compiled classes. NOTE: This isn't needed by the startup script,
# it's just used here in constructing the classpath.
cassandra_bin=$cassandra_home/build/classes
#cassandra_bin=$cassandra_home/build/cassandra.jar
# The java classpath (required)
CLASSPATH=$CASSANDRA_CONF:$cassandra_bin
for jar in $cassandra_home/lib/*.jar; do
CLASSPATH=$CLASSPATH:$jar
done
# Arguments to pass to the JVM
JVM_OPTS=" \
-ea \
-Xdebug \
-Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n \
-Xms128M \
-Xmx2G \
-XX:SurvivorRatio=8 \
-XX:TargetSurvivorRatio=90 \
-XX:+AggressiveOpts \
-XX:+UseParNewGC \
-XX:+UseConcMarkSweepGC \
-XX:CMSInitiatingOccupancyFraction=1 \
-XX:+CMSParallelRemarkEnabled \
-XX:+HeapDumpOnOutOfMemoryError \
-Dcom.sun.management.jmxremote.port=8080 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false"