From 339ff63d5b1827d296be90f9804d534b8fd0f9db Mon Sep 17 00:00:00 2001 From: vga91 Date: Tue, 2 Jul 2024 11:38:13 +0200 Subject: [PATCH] Fixes #4086: De ignore and solve failing docker tests in 5.21 --- extended-it/src/test/java/apoc/neo4j/docker/BoltTest.java | 2 -- .../src/test/java/apoc/neo4j/docker/CoreExtendedTest.java | 2 -- .../src/test/java/apoc/neo4j/docker/StartupExtendedTest.java | 2 -- 3 files changed, 6 deletions(-) diff --git a/extended-it/src/test/java/apoc/neo4j/docker/BoltTest.java b/extended-it/src/test/java/apoc/neo4j/docker/BoltTest.java index df3ba3eaac..508f405d5b 100644 --- a/extended-it/src/test/java/apoc/neo4j/docker/BoltTest.java +++ b/extended-it/src/test/java/apoc/neo4j/docker/BoltTest.java @@ -15,7 +15,6 @@ import org.junit.Assume; import org.junit.BeforeClass; import org.junit.ClassRule; -import org.junit.Ignore; import org.junit.Test; import org.neo4j.driver.Session; import org.neo4j.graphdb.Entity; @@ -46,7 +45,6 @@ * @author AgileLARUS * @since 29.08.17 */ -@Ignore public class BoltTest { public static String BOLT_URL; diff --git a/extended-it/src/test/java/apoc/neo4j/docker/CoreExtendedTest.java b/extended-it/src/test/java/apoc/neo4j/docker/CoreExtendedTest.java index 0236fcc786..7bbb2f4f45 100644 --- a/extended-it/src/test/java/apoc/neo4j/docker/CoreExtendedTest.java +++ b/extended-it/src/test/java/apoc/neo4j/docker/CoreExtendedTest.java @@ -2,7 +2,6 @@ import apoc.util.Neo4jContainerExtension; import apoc.util.TestContainerUtil; -import org.junit.Ignore; import org.junit.Test; import apoc.util.TestContainerUtil.ApocPackage; import org.neo4j.driver.Record; @@ -25,7 +24,6 @@ into a Neo4j instance without any startup issue. If you don't have docker installed it will fail, and you can simply ignore it. */ -@Ignore public class CoreExtendedTest { @Test public void checkForCoreAndExtended() { diff --git a/extended-it/src/test/java/apoc/neo4j/docker/StartupExtendedTest.java b/extended-it/src/test/java/apoc/neo4j/docker/StartupExtendedTest.java index 629e1f128c..7fbf4f4d5c 100644 --- a/extended-it/src/test/java/apoc/neo4j/docker/StartupExtendedTest.java +++ b/extended-it/src/test/java/apoc/neo4j/docker/StartupExtendedTest.java @@ -6,7 +6,6 @@ import apoc.util.TestContainerUtil; import apoc.util.TestContainerUtil.Neo4jVersion; import org.apache.commons.io.FileUtils; -import org.junit.Ignore; import org.junit.Test; import org.neo4j.driver.Session; @@ -30,7 +29,6 @@ /* This test is just to verify if the APOC procedures and functions are correctly deployed into a Neo4j instance without any startup issue. */ -@Ignore public class StartupExtendedTest { private static final String APOC_HELP_QUERY = "CALL apoc.help('') YIELD core, type, name WHERE core = $core and type = $type RETURN name"; private static final List EXPECTED_EXTENDED_NAMES;