Skip to content

Commit 07dc7a1

Browse files
author
Simon MacMullen
committed
Rename MulticastMain and PerformanceMain to PerfTest and PerfTestMulti.
1 parent a96d6c0 commit 07dc7a1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scripts/runperftest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
run() {
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

test/src/com/rabbitmq/examples/MulticastMain.java renamed to test/src/com/rabbitmq/examples/PerfTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import 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();

test/src/com/rabbitmq/examples/perf/PerformanceMain.java renamed to test/src/com/rabbitmq/examples/PerfTestMulti.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Copyright (c) 2007-2013 GoPivotal, Inc. All rights reserved.
1515
//
1616

17-
package com.rabbitmq.examples.perf;
17+
package com.rabbitmq.examples;
1818

1919
import com.rabbitmq.client.ConnectionFactory;
2020
import com.rabbitmq.tools.json.JSONReader;
@@ -31,14 +31,14 @@
3131
import java.util.List;
3232
import 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];

0 commit comments

Comments
 (0)