summaryrefslogtreecommitdiff
path: root/java/perftests/bin
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-01-16 16:44:17 +0000
committerRobert Greig <rgreig@apache.org>2007-01-16 16:44:17 +0000
commit6bd699c9e392eb83f837c4863989c32e7afcf3fe (patch)
tree0390c339a4221faf17c1121c3c7569d269a9c866 /java/perftests/bin
parenta8f3baccc066619364e1ef53b0dd04055b62e013 (diff)
downloadqpid-python-6bd699c9e392eb83f837c4863989c32e7afcf3fe.tar.gz
(Patch submitted by Rupert Smith) Refactored the test ping classes to share common code. Made them runnable from the command line (the same as they already were). Also made it possible to instantiate them in other code more easily. A unit test class has been added that performs a ping. This is so that it can be run with the TKTestRunner to scale it up and take performance measurements.
Junit-toolkit added as a dependency to the maven build system. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/perftests/bin')
-rwxr-xr-xjava/perftests/bin/testPingClient.sh2
-rwxr-xr-xjava/perftests/bin/testPingProducer.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/perftests/bin/testPingClient.sh b/java/perftests/bin/testPingClient.sh
index d819584999..4eca4a7999 100755
--- a/java/perftests/bin/testPingClient.sh
+++ b/java/perftests/bin/testPingClient.sh
@@ -30,4 +30,4 @@ echo $thehosts
# XXX -Xms1024m -XX:NewSize=300m
. ./setupclasspath.sh
echo $CP
-$JAVA_HOME/bin/java -cp $CP -Damqj.logging.level="warn" -Damqj.test.logging.level="info" -Dlog4j.configuration=src/perftests.log4j org.apache.qpid.pingpong.TestPingClient $thehosts guest guest /test "$@"
+$JAVA_HOME/bin/java -cp $CP -Damqj.logging.level="warn" -Damqj.test.logging.level="info" -Dlog4j.configuration=src/perftests.log4j org.apache.qpid.ping.TestPingClient $thehosts guest guest /test "$@"
diff --git a/java/perftests/bin/testPingProducer.sh b/java/perftests/bin/testPingProducer.sh
index 72c573780a..39ab487b60 100755
--- a/java/perftests/bin/testPingProducer.sh
+++ b/java/perftests/bin/testPingProducer.sh
@@ -30,4 +30,4 @@ echo $thehosts
# XXX -Xms1024m -XX:NewSize=300m
. ./setupclasspath.sh
echo $CP
-$JAVA_HOME/bin/java -cp $CP -Damqj.logging.level="warn" -Damqj.test.logging.level="info" -Dlog4j.configuration=src/perftests.log4j org.apache.qpid.pingpong.TestPingProducer $thehosts /test
+$JAVA_HOME/bin/java -cp $CP -Damqj.logging.level="warn" -Damqj.test.logging.level="info" -Dlog4j.configuration=src/perftests.log4j org.apache.qpid.ping.TestPingProducer $thehosts /test