You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2015/08/24 17:53:27 UTC
qpid-jms git commit: Fix a few incorrect log messages and add some
more info to some others.
Repository: qpid-jms
Updated Branches:
refs/heads/master adc5c3ebe -> 5421bf334
Fix a few incorrect log messages and add some more info to some others.
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/5421bf33
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/5421bf33
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/5421bf33
Branch: refs/heads/master
Commit: 5421bf334d3e7ba6614fa4ee8d3574e1535ddc4a
Parents: adc5c3e
Author: Timothy Bish <ta...@gmail.com>
Authored: Mon Aug 24 11:53:02 2015 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Mon Aug 24 11:53:16 2015 -0400
----------------------------------------------------------------------
.../transports/netty/NettyTcpTransportTest.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/5421bf33/qpid-jms-client/src/test/java/org/apache/qpid/jms/transports/netty/NettyTcpTransportTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/transports/netty/NettyTcpTransportTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/transports/netty/NettyTcpTransportTest.java
index 9e04fa0..e99acd5 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/transports/netty/NettyTcpTransportTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/transports/netty/NettyTcpTransportTest.java
@@ -93,7 +93,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
transport.connect();
fail("Should have failed to connect to the server");
} catch (Exception e) {
- LOG.info("Connected to some server when not expected.");
+ LOG.info("Failed to connect to: {} as expected.", serverLocation);
}
assertFalse(transport.isConnected());
@@ -119,7 +119,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
transport.connect();
fail("Should have failed to connect to the server");
} catch (Exception e) {
- LOG.info("Connected to some server when not expected.");
+ LOG.info("Failed to connect to: {} as expected.", serverLocation);
}
assertFalse(transport.isConnected());
@@ -143,7 +143,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
try {
transport.connect();
- LOG.info("Connected to server as expected.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should not have failed to connect to the server");
}
@@ -165,7 +165,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
Transport transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
@@ -201,7 +201,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
try {
transport.connect();
assertTrue(transport.isConnected());
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
transports.add(transport);
} catch (Exception e) {
fail("Should have connected to the server");
@@ -277,7 +277,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
@@ -315,7 +315,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
Transport transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
@@ -343,7 +343,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
Transport transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
@@ -395,7 +395,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
Transport transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
@@ -439,7 +439,7 @@ public class NettyTcpTransportTest extends QpidJmsTestCase {
transport = createTransport(serverLocation, testListener, createClientOptions());
try {
transport.connect();
- LOG.info("Connected to test server.");
+ LOG.info("Connected to server:{} as expected.", serverLocation);
} catch (Exception e) {
fail("Should have connected to the server");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org