Skip to content

Commit

Permalink
Enable in-place upgrade tests in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmre committed Nov 2, 2022
1 parent 4eada83 commit 3996297
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/test/java/com/neo4j/docker/neo4jserver/TestUpgrade.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 );
Expand All @@ -41,10 +39,8 @@ private GenericContainer makeContainer(String image)

private static List<Neo4jVersion> 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 );
}


Expand Down

0 comments on commit 3996297

Please sign in to comment.