adityamukho commented on code in PR #6774:
URL: https://github.com/apache/ignite-3/pull/6774#discussion_r2431691473
##########
modules/compatibility-tests/src/testFixtures/java/org/apache/ignite/internal/IgniteCluster.java:
##########
@@ -173,18 +180,17 @@ public void stop() {
LOG.info("Shut the embedded cluster down");
- if (runnerNodes != null) {
- List<String> nodeNames = runnerNodes.stream()
- .map(RunnerNode::nodeName)
- .collect(toList());
+ List<String> nodeNames = runnerNodes.stream()
+ .filter(Objects::nonNull)
Review Comment:
There is a method to stop a runner node in GG code, that sets the
corresponding entry in the list to null. We would need this check there anyway.
Does it make sense to add it here then?
--
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]