You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by mp...@apache.org on 2026/03/19 14:19:29 UTC

(ignite-3) branch IGN-29824 created (now 42c5b350be0)

This is an automated email from the ASF dual-hosted git repository.

mpochatkin pushed a change to branch IGN-29824
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


      at 42c5b350be0 IGN-29824 Fix ItDockerConfigTest failing due to wrong Docker image fallback

This branch includes the following new commits:

     new 42c5b350be0 IGN-29824 Fix ItDockerConfigTest failing due to wrong Docker image fallback

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(ignite-3) 01/01: IGN-29824 Fix ItDockerConfigTest failing due to wrong Docker image fallback

Posted by mp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mpochatkin pushed a commit to branch IGN-29824
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 42c5b350be0f9b4029864200205cff0aea3d5f14
Author: Pochatkin Mikhail <m....@gmail.com>
AuthorDate: Thu Mar 19 17:19:14 2026 +0300

    IGN-29824 Fix ItDockerConfigTest failing due to wrong Docker image fallback
    
    Remove the hardcoded 'apacheignite/ignite:latest' fallback which pulls
    Ignite 2.x from Docker Hub. Use the system property set by Gradle and
    add a fail-fast check with a clear error message when the property is missing.
---
 .../org/apache/ignite/tests/docker/ItDockerConfigTest.java   | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/packaging/test/src/integrationTest/java/org/apache/ignite/tests/docker/ItDockerConfigTest.java b/packaging/test/src/integrationTest/java/org/apache/ignite/tests/docker/ItDockerConfigTest.java
index 25def31f398..23adfe3d00c 100644
--- a/packaging/test/src/integrationTest/java/org/apache/ignite/tests/docker/ItDockerConfigTest.java
+++ b/packaging/test/src/integrationTest/java/org/apache/ignite/tests/docker/ItDockerConfigTest.java
@@ -43,7 +43,17 @@ import org.testcontainers.utility.MountableFile;
  */
 @Disabled("https://issues.apache.org/jira/browse/IGNITE-27471")
 public class ItDockerConfigTest {
-    private static final String DOCKER_IMAGE = "apacheignite/ignite:latest";
+    private static final String DOCKER_IMAGE = System.getProperty("ignite.docker.image");
+
+    static {
+        if (DOCKER_IMAGE == null || DOCKER_IMAGE.isEmpty()) {
+            throw new IllegalStateException(
+                    "System property 'ignite.docker.image' is not set. "
+                    + "This test must be run via Gradle which sets the property automatically. "
+                    + "Example: ./gradlew :packaging-test:integrationTest"
+            );
+        }
+    }
     private static final int CLUSTER_SIZE = 3;
     private static final List<GenericContainer<?>> igniteNodes = new ArrayList<>();
     private static Network network;