sashapolo commented on code in PR #722:
URL: https://github.com/apache/ignite-3/pull/722#discussion_r849178968
##########
modules/cli/src/integrationTest/java/org/apache/ignite/cli/ItConfigCommandTest.java:
##########
@@ -66,15 +70,21 @@ public class ItConfigCommandTest extends AbstractCliTest {
private IgniteImpl node;
@BeforeEach
- void setup(@WorkDirectory Path workDir, TestInfo testInfo) {
- node = (IgniteImpl) IgnitionManager.start(testNodeName(testInfo, 0),
null, workDir);
+ void setup(@WorkDirectory Path workDir, TestInfo testInfo) throws
NodeStoppingException {
+ String nodeName = testNodeName(testInfo, 0);
+
+ CompletableFuture<Ignite> future = IgnitionManager.start(nodeName,
null, workDir);
+
+ IgnitionManager.init(nodeName, List.of(nodeName));
Review Comment:
I think we can add this option later if needed, since this API is
experimental, and we do not yet have an agreement on how to implement the node
start/init properly
--
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]