Author: timfox
Date: 2010-10-06 03:23:16 -0400 (Wed, 06 Oct 2010)
New Revision: 9756
Modified:
trunk/tests/src/org/hornetq/tests/integration/stomp/StompTest.java
Log:
removed test that shouldn't be there
Modified: trunk/tests/src/org/hornetq/tests/integration/stomp/StompTest.java
===================================================================
--- trunk/tests/src/org/hornetq/tests/integration/stomp/StompTest.java 2010-10-05 22:39:35
UTC (rev 9755)
+++ trunk/tests/src/org/hornetq/tests/integration/stomp/StompTest.java 2010-10-06 07:23:16
UTC (rev 9756)
@@ -121,36 +121,7 @@
assertTrue(latch.await(60, TimeUnit.SECONDS));
}
-
- public void testPerf() throws Exception
- {
- String frame = "CONNECT\n" + "login: brianm\n" +
"passcode: wombats\n\n" + Stomp.NULL;
- sendFrame(frame);
- frame = receiveFrame(10000);
- Assert.assertTrue(frame.startsWith("CONNECTED"));
-
- int count = 100000;
-
- frame = "SEND\n" + "destination:" + getQueuePrefix() +
getQueueName() + "\n\n" +
"ABCDJIMTEST<GRV>http://techcrunch.com/2010/09/23/thelikestream-digg-for-facebook-likes/<GRV>0"
+ Stomp.NULL;
-
- long start = System.currentTimeMillis();
-
- for (int i = 1; i <= count; i++)
- {
- sendFrame(frame);
-
- if (i % 1000 == 0)
- {
- log.info("Sent " + i);
- }
- }
-
- long end = System.currentTimeMillis();
-
- log.info("That took " + (end-start));
- }
-
public void testConnect() throws Exception
{
Show replies by date