Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

105 lines (95 sloc) 3.461 kb
<?xml version="1.0" encoding="UTF-8"?>
<project name="kestrel-tests" default="default" basedir=".">
<description> Kestrel load tests </description>
<import file="ant/bootstrap.xml" />
<!-- can be overridden -->
<property name="items" value="10000" />
<property name="bytes" value="1024" />
<target name="put-many-1" depends="prepare">
<java classname="net.lag.kestrel.load.PutMany" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<arg value="1" />
<arg value="${items}" />
<arg value="${bytes}" />
</java>
</target>
<target name="put-many-10" depends="prepare">
<java classname="net.lag.kestrel.load.PutMany" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<arg value="10" />
<arg value="${items}" />
<arg value="${bytes}" />
</java>
</target>
<target name="put-many-100" depends="prepare">
<java classname="net.lag.kestrel.load.PutMany" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<syspropertyset>
<propertyref builtin="commandline" />
</syspropertyset>
<arg value="100" />
<arg value="${items}" />
<arg value="${bytes}" />
</java>
</target>
<target name="put-many-1000" depends="prepare">
<java classname="net.lag.kestrel.load.PutMany" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<arg value="1000" />
<arg value="${items}" />
<arg value="${bytes}" />
</java>
</target>
<target name="put-many-2000" depends="prepare">
<java classname="net.lag.kestrel.load.PutMany" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<arg value="2000" />
<arg value="${items}" />
<arg value="${bytes}" />
</java>
</target>
<target name="many-clients" depends="prepare">
<java classname="net.lag.kestrel.load.ManyClients" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<syspropertyset>
<propertyref builtin="commandline" />
</syspropertyset>
</java>
</target>
<target name="flood" depends="prepare">
<java classname="net.lag.kestrel.load.Flood" fork="true" failonerror="true">
<classpath>
<path refid="test.path" />
<pathelement location="${target.dir}/classes" />
<pathelement location="${target.dir}/test-classes" />
</classpath>
<syspropertyset>
<propertyref builtin="commandline" />
</syspropertyset>
</java>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.