From 39962971d8233a23a6a9c083b289aa653fa18f86 Mon Sep 17 00:00:00 2001 From: Sergey Zaporozhtsev Date: Mon, 31 Oct 2022 14:47:00 +0000 Subject: [PATCH] Enable in-place upgrade tests in docker --- .../java/com/neo4j/docker/neo4jserver/TestUpgrade.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java b/src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java index 364b69ee..d978a70c 100644 --- a/src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java +++ b/src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java @@ -7,7 +7,6 @@ import com.neo4j.docker.utils.Neo4jVersion; import com.neo4j.docker.utils.TestSettings; import org.junit.jupiter.api.Assumptions; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import org.slf4j.Logger; @@ -21,7 +20,6 @@ import java.util.Random; import java.util.function.Consumer; -@Disabled public class TestUpgrade { private static final Logger log = LoggerFactory.getLogger( TestUpgrade.class ); @@ -41,10 +39,8 @@ private GenericContainer makeContainer(String image) private static List upgradableNeo4jVersions() { - return Arrays.asList( new Neo4jVersion( 3, 5, 3 ), // 3.5.6 image introduced file permission changes, so we need to test upgrades before that version - new Neo4jVersion( 3, 5, 7 ), - Neo4jVersion.NEO4J_VERSION_400, - new Neo4jVersion( 4,1,0 )); + return Arrays.asList( new Neo4jVersion( 4, 4, 0 ), + Neo4jVersion.NEO4J_VERSION_500 ); }