Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 023ab90

Browse files
Update to Testcontainers 1.12.4.
This allows us to disable tests when there’s no Docker available.
1 parent 1f08ce4 commit 023ab90

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/ogm-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<java.version>1.8</java.version>
2020
<neo4j-java-driver-spring-boot-starter.version>${revision}${sha1}${changelist}</neo4j-java-driver-spring-boot-starter.version>
2121
<neo4j-ogm.version>3.2.6</neo4j-ogm.version>
22-
<testcontainers.version>1.10.7</testcontainers.version>
22+
<testcontainers.version>1.12.4</testcontainers.version>
2323
</properties>
2424

2525
<dependencies>

examples/ogm-integration/src/test/java/org/neo4j/doc/driver/springframework/boot/ogm_integration/ApplicationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* This tests demonstrates that the automatic configuration for the driver integrates will with Spring Boot, meaning that
4343
* there's still a transaction manager, open session in view interceptor and bookmark support.
4444
*/
45-
@Testcontainers
45+
@Testcontainers(disabledWithoutDocker = true)
4646
@SpringBootTest
4747
@ImportAutoConfiguration(Neo4jDriverAutoConfiguration.class)
4848
// This is necessary, as the test slice cannot know about it

examples/ogm-integration/src/test/java/org/neo4j/doc/driver/springframework/boot/ogm_integration/domain/TestSliceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* @author Michael J. Simons
4343
*/
44-
@Testcontainers
44+
@Testcontainers(disabledWithoutDocker = true)
4545
@DataNeo4jTest
4646
@ImportAutoConfiguration(Neo4jDriverAutoConfiguration.class) // This is necessary, as the test slice cannot know about it
4747
@ContextConfiguration(initializers = { TestSliceTest.Initializer.class })

neo4j-java-driver-spring-boot-autoconfigure/src/test/java/org/neo4j/driver/springframework/boot/autoconfigure/Neo4jDriverAutoConfigurationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* @author Michael J. Simons
4949
*/
5050
@SpringBootTest
51-
@Testcontainers
51+
@Testcontainers(disabledWithoutDocker = true)
5252
@ContextConfiguration(initializers = Neo4jDriverAutoConfigurationIT.Neo4jContainerBasedTestPropertyProvider.class)
5353
class Neo4jDriverAutoConfigurationIT {
5454

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<revision>4.0</revision>
107107
<sha1></sha1>
108108
<sortpom-maven-plugin.version>2.8.0</sortpom-maven-plugin.version>
109-
<testcontainers.version>1.10.7</testcontainers.version>
109+
<testcontainers.version>1.12.4</testcontainers.version>
110110
</properties>
111111

112112
<dependencyManagement>

0 commit comments

Comments
 (0)