activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r707429 - in /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp: InactivityMonitorTest.java TransportUriTest.java
Date Thu, 23 Oct 2008 18:00:13 GMT
Author: gtully
Date: Thu Oct 23 11:00:11 2008
New Revision: 707429

URL: http://svn.apache.org/viewvc?rev=707429&view=rev
Log:
remove a few stack traces from test stdout

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/InactivityMonitorTest.java
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/InactivityMonitorTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/InactivityMonitorTest.java?rev=707429&r1=707428&r2=707429&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/InactivityMonitorTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/InactivityMonitorTest.java
Thu Oct 23 11:00:11 2008
@@ -133,8 +133,7 @@
 
                 public void onException(IOException error) {
                     if (!ignoreClientError.get()) {
-                        LOG.info("Server transport error:");
-                        error.printStackTrace();
+                        LOG.info("Server transport error:", error);
                         serverErrorCount.incrementAndGet();
                     }
                 }
@@ -152,7 +151,7 @@
     }
 
     public void onAcceptError(Exception error) {
-        error.printStackTrace();
+        LOG.trace(error);
     }
 
     public void testClientHang() throws Exception {

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java?rev=707429&r1=707428&r2=707429&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/tcp/TransportUriTest.java
Thu Oct 23 11:00:11 2008
@@ -61,7 +61,6 @@
             connection.start();
             fail("Should have thrown an exception!");
         } catch (Exception expected) {
-            expected.printStackTrace();
         }
     }
 



Mime
View raw message