nizhikov commented on a change in pull request #8968:
URL: https://github.com/apache/ignite/pull/8968#discussion_r608529537
##########
File path:
modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/utils/IgniteAwareApplicationService.java
##########
@@ -76,7 +81,18 @@ public static void main(String[] args) throws Exception {
log.info("Ignite instance closed. [interrupted=" +
Thread.currentThread().isInterrupted() + "]");
}
}
- else
- app.start(jsonNode);
+ else {
+ String connStr = jsonNode.get(THIN_CLIENT_CONNECTION).asText();
+
+ try (IgniteClient client = Ignition.startClient(new
ClientConfiguration().setAddresses(connStr))) {
+ app.client = client;
+
+ app.start(jsonNode);
+ }
+ finally {
+ log.info("Thin client instance closed. [interrupted=" +
Thread.currentThread().isInterrupted() + "]");
+ }
+
Review comment:
please, remove empty line.
--
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:
[email protected]