File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
test/src/com/rabbitmq/examples Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22
33run () {
44 echo " === running with '$2 '"
5- sh ` dirname $0 ` /runjava.sh com.rabbitmq.examples.MulticastMain -h $1 -z 10 -i 20 $2
5+ sh ` dirname $0 ` /runjava.sh com.rabbitmq.examples.PerfTest -h $1 -z 10 -i 20 $2
66 sleep 2
77}
88
Original file line number Diff line number Diff line change 3333import com .rabbitmq .client .ConnectionFactory ;
3434
3535
36- public class MulticastMain {
36+ public class PerfTest {
3737 public static void main (String [] args ) {
3838 Options options = getOptions ();
3939 CommandLineParser parser = new GnuParser ();
Original file line number Diff line number Diff line change 1414// Copyright (c) 2007-2013 GoPivotal, Inc. All rights reserved.
1515//
1616
17- package com .rabbitmq .examples . perf ;
17+ package com .rabbitmq .examples ;
1818
1919import com .rabbitmq .client .ConnectionFactory ;
2020import com .rabbitmq .tools .json .JSONReader ;
3131import java .util .List ;
3232import java .util .Map ;
3333
34- public class PerformanceMain {
34+ public class PerfTestMulti {
3535 private static final ConnectionFactory factory = new ConnectionFactory ();
3636
3737 private static Map <String , Object > results = new HashMap <String , Object >();
3838
3939 public static void main (String [] args ) throws Exception {
4040 if (args .length != 2 ) {
41- System .out .println ("Usage: PerformanceMain input-json-file output-json-file" );
41+ System .out .println ("Usage: PerfTestMulti input-json-file output-json-file" );
4242 System .exit (1 );
4343 }
4444 String inJSON = args [0 ];
You can’t perform that action at this time.
0 commit comments