disabled logging to System.err to tidy up the test run in maven

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@511791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2007-02-26 12:34:54 +00:00
parent 3013c2020b
commit 12a5355b2c
1 changed files with 6 additions and 2 deletions

View File

@ -124,8 +124,10 @@ public class JmsDurableTopicSlowReceiveTest extends JmsTopicSendReceiveTest{
message.setJMSType("test"); message.setJMSType("test");
producer2.send(consumerDestination2,message); producer2.send(consumerDestination2,message);
Thread.sleep(50); Thread.sleep(50);
if (verbose) {
System.err.println("Sent("+loop+"): "+i); System.err.println("Sent("+loop+"): "+i);
} }
}
producer2.close(); producer2.close();
connection2.stop(); connection2.stop();
connection2.close(); connection2.close();
@ -154,7 +156,9 @@ public class JmsDurableTopicSlowReceiveTest extends JmsTopicSendReceiveTest{
msg=consumer3.receive(10000); msg=consumer3.receive(10000);
if(msg==null) if(msg==null)
break; break;
if (verbose) {
System.err.println("Received("+loop+"): "+i); System.err.println("Received("+loop+"): "+i);
}
Thread.sleep(500); Thread.sleep(500);
msg.acknowledge(); msg.acknowledge();
} }