Skip to content

Commit fd4dc7d

Browse files
committed
IGNITE-28000 Update ConnectionTest error check
1 parent af99bce commit fd4dc7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/client/src/test/java/org/apache/ignite/client/ConnectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void testInvalidNodeAddresses() {
7777
var ex = assertThrows(IgniteClientConnectionException.class,
7878
() -> testConnection("127.0.0.1:47500"));
7979

80-
String errMsg = ex.getCause().getMessage();
80+
String errMsg = ex.getMessage();
8181

8282
// It does not seem possible to verify that it's a 'Connection refused' exception because with different
8383
// user locales the message differs, so let's just check that the message ends with the known suffix.

0 commit comments

Comments
 (0)