File tree 3 files changed +8
-8
lines changed
src/test/java/org/springframework/data/neo4j
documentation/spring_boot
integration/multiple_ctx_imperative
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 48
48
// tag::faq.template-reactive-pt2[]
49
49
class ReactiveTemplateExampleTest {
50
50
51
- @ Container private static Neo4jContainer <?> neo4jContainer = new Neo4jContainer <>("neo4j:4.4 " );
51
+ @ Container private static Neo4jContainer <?> neo4jContainer = new Neo4jContainer <>("neo4j:5 " );
52
52
53
53
@ DynamicPropertySource
54
54
static void neo4jProperties (DynamicPropertyRegistry registry ) {
Original file line number Diff line number Diff line change 53
53
public class MultipleContextsIT {
54
54
55
55
@ 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 " );
58
58
59
59
@ 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 " );
62
62
63
63
@ DynamicPropertySource
64
64
static void neo4jSettings (DynamicPropertyRegistry registry ) {
65
65
66
66
registry .add ("database1.url" , container1 ::getBoltUrl );
67
- registry .add ("database1.password" , () -> "secret1 " );
67
+ registry .add ("database1.password" , () -> "verysecret1 " );
68
68
69
69
registry .add ("database2.url" , container2 ::getBoltUrl );
70
- registry .add ("database2.password" , () -> "secret2 " );
70
+ registry .add ("database2.password" , () -> "verysecret2 " );
71
71
}
72
72
73
73
@ Test // DATAGRAPH-1441
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ static class ContainerAdapter implements ExtensionContext.Store.CloseableResourc
294
294
295
295
private final String repository = Optional .ofNullable (System .getenv (SYS_PROPERTY_NEO4J_REPOSITORY )).orElse ("neo4j" );
296
296
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 " );
298
298
299
299
private final boolean containerReuseSupported = TestcontainersConfiguration
300
300
.getInstance ().environmentSupportsReuse ();
You can’t perform that action at this time.
0 commit comments