Skip to content

Commit

Permalink
Remove old distributed tests.
Browse files Browse the repository at this point in the history
Patch by brandonwilliams reviewed by jbellis for CASSANDRA-3602

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-1.0@1212572 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
driftx committed Dec 9, 2011
1 parent bf0f80c commit 250e63b
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 1,363 deletions.
28 changes: 0 additions & 28 deletions build.xml
Expand Up @@ -60,7 +60,6 @@
<property name="test.name" value="*Test"/>
<property name="test.unit.src" value="${test.dir}/unit"/>
<property name="test.long.src" value="${test.dir}/long"/>
<property name="test.distributed.src" value="${test.dir}/distributed"/>
<property name="dist.dir" value="${build.dir}/dist"/>
<condition property="version" value="${base.version}">
<isset property="release"/>
Expand Down Expand Up @@ -287,9 +286,6 @@ url=${svn.entry.url}?pathrev=${svn.entry.commit.revision}
<artifact:remoteRepository id="central" url="${artifact.remoteRepository.central}"/>
<artifact:remoteRepository id="java.net2" url="${artifact.remoteRepository.java.net2}"/>
<artifact:remoteRepository id="apache" url="${artifact.remoteRepository.apache}"/>
<!-- for distributed tests -->
<artifact:remoteRepository id="jclouds" url="${artifact.remoteRepository.jclouds}"/>
<artifact:remoteRepository id="oauth" url="${artifact.remoteRepository.oauth}"/>

<macrodef name="install">
<attribute name="pomFile"/>
Expand Down Expand Up @@ -972,22 +968,6 @@ url=${svn.entry.url}?pathrev=${svn.entry.commit.revision}
</copy>
</target>

<target name="build-distributed-test" depends="build-test,maven-ant-tasks-retrieve-test" description="Compile distributed test classes (which have additional deps)">
<javac
debug="true"
debuglevel="${debuglevel}"
destdir="${test.classes}">
<classpath>
<path refid="cassandra.classpath"/>
<pathelement location="${test.classes}"/>
<fileset dir="${test.lib}">
<include name="**/*.jar" />
</fileset>
</classpath>
<src path="${test.distributed.src}"/>
</javac>
</target>

<macrodef name="testmacro">
<attribute name="suitename" />
<attribute name="inputdir" />
Expand Down Expand Up @@ -1076,14 +1056,6 @@ url=${svn.entry.url}?pathrev=${svn.entry.commit.revision}
timeout="${test.long.timeout}" />
</target>

<!-- Depends on artifacts so that we can push a tarball to remote nodes, and has its own build target for cloudy deps. -->
<target name="distributed-test" depends="build-distributed-test,artifacts" description="Execute distributed tests: see ${test.distributed.src}/README.txt">
<testmacro suitename="distributed" inputdir="${test.distributed.src}" timeout="1200000" forkmode="once">
<jvmarg value="-Dwhirr.config=${whirr.config}"/>
<jvmarg value="-Dwhirr.cassandra_tarball=${build.dir}/${final.name}-bin.tar.gz"/>
</testmacro>
</target>

<!-- instruments the classes to later create code coverage reports -->
<target name="cobertura-instrument" depends="build,build-test">
<taskdef resource="tasks.properties">
Expand Down
57 changes: 0 additions & 57 deletions test/distributed/README.txt

This file was deleted.

0 comments on commit 250e63b

Please sign in to comment.