File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/test/java/org/springframework/data/neo4j
documentation/spring_boot
integration/multiple_ctx_imperative Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4848// tag::faq.template-reactive-pt2[]
4949class ReactiveTemplateExampleTest {
5050
51- @ Container private static Neo4jContainer <?> neo4jContainer = new Neo4jContainer <>("neo4j:4.4 " );
51+ @ Container private static Neo4jContainer <?> neo4jContainer = new Neo4jContainer <>("neo4j:5 " );
5252
5353 @ DynamicPropertySource
5454 static void neo4jProperties (DynamicPropertyRegistry registry ) {
Original file line number Diff line number Diff line change 5353public class MultipleContextsIT {
5454
5555 @ Container
56- private static Neo4jContainer container1 = new Neo4jContainer <>("neo4j:4.4 " )
57- .withAdminPassword ("secret1 " );
56+ private static Neo4jContainer container1 = new Neo4jContainer <>("neo4j:5 " )
57+ .withAdminPassword ("verysecret1 " );
5858
5959 @ Container
60- private static Neo4jContainer container2 = new Neo4jContainer <>("neo4j:4.4 " )
61- .withAdminPassword ("secret2 " );
60+ private static Neo4jContainer container2 = new Neo4jContainer <>("neo4j:5 " )
61+ .withAdminPassword ("verysecret2 " );
6262
6363 @ DynamicPropertySource
6464 static void neo4jSettings (DynamicPropertyRegistry registry ) {
6565
6666 registry .add ("database1.url" , container1 ::getBoltUrl );
67- registry .add ("database1.password" , () -> "secret1 " );
67+ registry .add ("database1.password" , () -> "verysecret1 " );
6868
6969 registry .add ("database2.url" , container2 ::getBoltUrl );
70- registry .add ("database2.password" , () -> "secret2 " );
70+ registry .add ("database2.password" , () -> "verysecret2 " );
7171 }
7272
7373 @ Test // DATAGRAPH-1441
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ static class ContainerAdapter implements ExtensionContext.Store.CloseableResourc
294294
295295 private final String repository = Optional .ofNullable (System .getenv (SYS_PROPERTY_NEO4J_REPOSITORY )).orElse ("neo4j" );
296296
297- private final String imageVersion = Optional .ofNullable (System .getenv (SYS_PROPERTY_NEO4J_VERSION )).orElse ("4.4 " );
297+ private final String imageVersion = Optional .ofNullable (System .getenv (SYS_PROPERTY_NEO4J_VERSION )).orElse ("5 " );
298298
299299 private final boolean containerReuseSupported = TestcontainersConfiguration
300300 .getInstance ().environmentSupportsReuse ();
You can’t perform that action at this time.
0 commit comments