tmgodinho commented on code in PR #5787:
URL: https://github.com/apache/ignite-3/pull/5787#discussion_r2098393247


##########
migration-tools/modules/migration-tools-commons-tests/src/main/java/org/apache/ignite/migrationtools/tests/containers/Ignite2ClusterContainer.java:
##########
@@ -96,7 +96,10 @@ private static GenericContainer createIgnite2Container(
     ) {
         Consumer<OutputFrame> logConsumer = new CheckpointerLogConsumer();
         String heapSize = System.getProperty("ai2.sampleCluster.Xmx", "10g");
-        return new GenericContainer<>("apacheignite/ignite:2.15.0-jdk11")
+        String ignite2DockerImage = System.getProperty("ignite2.docker.image");
+        assert ignite2DockerImage != null : "ignite2.docker.image must be 
defined";

Review Comment:
   It could be an exception as well. But since this is test code I decided with 
the assert. Does not have to be though.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to