alex-plekhanov commented on a change in pull request #6898: IGNITE-12211: 
Client connections system view
URL: https://github.com/apache/ignite/pull/6898#discussion_r327694119
 
 

 ##########
 File path: 
modules/core/src/test/java/org/apache/ignite/internal/metric/JmxExporterSpiTest.java
 ##########
 @@ -298,6 +308,53 @@ public void testComputeBroadcast() throws Exception {
         barrier.await();
     }
 
+    /** */
+    @Test
+    public void testClientsConnections() throws Exception {
+        String host = 
ignite.configuration().getClientConnectorConfiguration().getHost();
+
+        if (host == null)
+            host = ignite.configuration().getLocalHost();
+
+        int port = 
ignite.configuration().getClientConnectorConfiguration().getPort();
+
+        try (IgniteClient client =
+                 Ignition.startClient(new 
ClientConfiguration().setAddresses(host + ":" + port))) {
+
 
 Review comment:
   Redundant NL

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to