maksaska commented on code in PR #11462:
URL: https://github.com/apache/ignite/pull/11462#discussion_r1711578997
##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/io/gridnioserver/GridNioClientConnectionMultiplexer.java:
##########
@@ -194,7 +195,7 @@ public
GridNioClientConnectionMultiplexer(ClientConfiguration cfg) {
return new GridNioClientConnection(ses, msgHnd, stateHnd);
}
catch (Exception e) {
- throw new ClientConnectionException(e.getMessage(), e);
+ throw new ClientConnectionException(e.getMessage() + " [" +
S.toString(InetSocketAddress.class, addr) + ']', e);
Review Comment:
I've corrected this message
##########
modules/core/src/test/java/org/apache/ignite/client/ReliabilityTest.java:
##########
@@ -205,7 +205,9 @@ public void testSingleServerFailover() throws Exception {
// Fail.
dropAllThinClientConnections(Ignition.allGrids().get(0));
- GridTestUtils.assertThrowsWithCause(() -> cachePut(cache, 0, 0),
ClientConnectionException.class);
+ Throwable ex = GridTestUtils.assertThrowsWithCause(() ->
cachePut(cache, 0, 0), ClientConnectionException.class);
+
+ GridTestUtils.assertContains(null, ex.getMessage(),
cluster.clientAddresses().iterator().next());
Review Comment:
Done!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]