parent
1de2dd9ecb
commit
0fb482579b
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2020 the original author or authors.
|
* Copyright 2012-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -47,7 +47,7 @@ class DataNeo4jTestIntegrationTests {
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
||||||
.withStartupTimeout(Duration.ofMinutes(10));
|
.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private Session session;
|
private Session session;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2020 the original author or authors.
|
* Copyright 2012-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -43,7 +43,7 @@ class DataNeo4jTestPropertiesIntegrationTests {
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
||||||
.withStartupTimeout(Duration.ofMinutes(10));
|
.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private Environment environment;
|
private Environment environment;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2012-2020 the original author or authors.
|
* Copyright 2012-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -44,7 +44,7 @@ class DataNeo4jTestWithIncludeFilterIntegrationTests {
|
||||||
|
|
||||||
@Container
|
@Container
|
||||||
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
static final Neo4jContainer<?> neo4j = new Neo4jContainer<>(DockerImageNames.neo4j()).withoutAuthentication()
|
||||||
.withStartupTimeout(Duration.ofMinutes(10));
|
.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private ExampleService service;
|
private ExampleService service;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue