From 8aaf925dc76e09c58c41febb3d63a4610f8c21e2 Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Tue, 9 Dec 2014 15:00:19 +0000 Subject: Omit the BrokerLoggingTest that tests SSL. As SSL is currently disabled the IO threads it was spawning were being left behind running on after the tests completed. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644073 13f79535-47bb-0310-9956-ffa450edef68 --- .../qpid/transport/network/io/NonBlockingSenderReceiver.java | 7 +++++++ qpid/java/test-profiles/JavaExcludes | 2 ++ 2 files changed, 9 insertions(+) (limited to 'qpid/java') diff --git a/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/NonBlockingSenderReceiver.java b/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/NonBlockingSenderReceiver.java index 3bc5abf27b..f74f934ff3 100644 --- a/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/NonBlockingSenderReceiver.java +++ b/qpid/java/common/src/main/java/org/apache/qpid/transport/network/io/NonBlockingSenderReceiver.java @@ -112,6 +112,9 @@ public class NonBlockingSenderReceiver implements Runnable, Sender @Override public void run() { + + LOGGER.debug("I/O for thread " + _remoteSocketAddress + " started"); + // never ending loop doing // try to write all pending byte buffers, handle situation where zero bytes or part of a byte buffer is written // read as much as you can @@ -162,6 +165,10 @@ public class NonBlockingSenderReceiver implements Runnable, Sender { LOGGER.info("Exception performing final output for thread '" + _remoteSocketAddress + "': " + e); } + finally + { + LOGGER.info("Shutting down IO thread for " + _remoteSocketAddress); + } } diff --git a/qpid/java/test-profiles/JavaExcludes b/qpid/java/test-profiles/JavaExcludes index 603d6293ce..610981a24c 100644 --- a/qpid/java/test-profiles/JavaExcludes +++ b/qpid/java/test-profiles/JavaExcludes @@ -35,3 +35,5 @@ org.apache.qpid.test.client.message.SelectorTest#testRuntimeSelectorError // QPID-6262: Temporary exclusion whilst NIO refactoring is in flight org.apache.qpid.client.ssl.SSLTest#* org.apache.qpid.server.transport.TCPandSSLTransportTest#* +org.apache.qpid.server.logging.BrokerLoggingTest#testBrokerStartupListeningTCPSSL +org.apache.qpid.server.logging.BrokerLoggingTest#testBrokerShutdownListeningTCPSSL -- cgit v1.2.1