activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r511791 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java
Date Mon, 26 Feb 2007 12:34:57 GMT
Author: jstrachan
Date: Mon Feb 26 04:34:54 2007
New Revision: 511791

URL: http://svn.apache.org/viewvc?view=rev&rev=511791
Log:
disabled logging to System.err to tidy up the test run in maven

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java?view=diff&rev=511791&r1=511790&r2=511791
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java
Mon Feb 26 04:34:54 2007
@@ -124,7 +124,9 @@
                             message.setJMSType("test");
                             producer2.send(consumerDestination2,message);
                             Thread.sleep(50);
-                            System.err.println("Sent("+loop+"): "+i);
+                            if (verbose) {
+                                System.err.println("Sent("+loop+"): "+i);
+                            }
                         }
                         producer2.close();
                         connection2.stop();
@@ -154,7 +156,9 @@
                 msg=consumer3.receive(10000);
                 if(msg==null)
                     break;
-                System.err.println("Received("+loop+"): "+i);
+                if (verbose) {
+                    System.err.println("Received("+loop+"): "+i);
+                }
                 Thread.sleep(500);
                 msg.acknowledge();
             }



Mime
View raw message