remove a few stack traces from test stdout

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@707429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-10-23 18:00:11 +00:00
parent 81f0cc0d04
commit fe50dd693f
2 changed files with 2 additions and 4 deletions

View File

@ -133,8 +133,7 @@ public class InactivityMonitorTest extends CombinationTestSupport implements Tra
public void onException(IOException error) { public void onException(IOException error) {
if (!ignoreClientError.get()) { if (!ignoreClientError.get()) {
LOG.info("Server transport error:"); LOG.info("Server transport error:", error);
error.printStackTrace();
serverErrorCount.incrementAndGet(); serverErrorCount.incrementAndGet();
} }
} }
@ -152,7 +151,7 @@ public class InactivityMonitorTest extends CombinationTestSupport implements Tra
} }
public void onAcceptError(Exception error) { public void onAcceptError(Exception error) {
error.printStackTrace(); LOG.trace(error);
} }
public void testClientHang() throws Exception { public void testClientHang() throws Exception {

View File

@ -61,7 +61,6 @@ public class TransportUriTest extends EmbeddedBrokerTestSupport {
connection.start(); connection.start();
fail("Should have thrown an exception!"); fail("Should have thrown an exception!");
} catch (Exception expected) { } catch (Exception expected) {
expected.printStackTrace();
} }
} }