Commit 79aac4b0 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Removes useless traces.

parent 1880e6ac
......@@ -149,7 +149,8 @@ public class BridgeRestTest7 extends TestCase implements MessageListener {
TextMessage msg = foreignSess.createTextMessage();
for (int i = 0; i < nbmsg; i++) {
// System.out.println("Send msg #" + i);
if ((i % 1000) == 0)
System.out.println("Send msg #" + i);
msg.setText("Message number #" + i);
foreignProd.send(msg);
......@@ -180,7 +181,8 @@ public class BridgeRestTest7 extends TestCase implements MessageListener {
System.out.println("Message " + msg.getJMSMessageID() + ": Expected <" + txt1 + "> but was <" + txt2 + "> ");
assertEquals("Message " + msg.getJMSMessageID(), txt1, txt2);
// System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
if ((counter % 1000) == 0)
System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
counter += 1;
if (counter == nbmsg) {
......
......@@ -154,7 +154,8 @@ public class BridgeRestTest8 extends TestCase implements MessageListener {
createProducer("producer", "clientid");
for (int i = 0; i < nbmsg; i++) {
// System.out.println("Send msg #" + i);
if ((i%1000) == 0)
System.out.println("Send msg #" + i);
send("Message number #" + i, i);
synchronized (lock) {
......@@ -184,7 +185,8 @@ public class BridgeRestTest8 extends TestCase implements MessageListener {
System.out.println("Message " + msg.getJMSMessageID() + ": Expected <" + txt1 + "> but was <" + txt2 + "> ");
assertEquals("Message " + msg.getJMSMessageID(), txt1, txt2);
// System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
if ((counter % 1000) == 0)
System.out.println("Receives " + msg.getJMSMessageID() + " -> " + txt2);
counter += 1;
if (counter == nbmsg) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment