Commit 0d81b4d0 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '2.3.x' into 2.4.x

Closes gh-26108
parents 0cedbf6e 0fb48257
...@@ -47,7 +47,7 @@ public class Neo4jRepositoriesAutoConfigurationIntegrationTests { ...@@ -47,7 +47,7 @@ public class Neo4jRepositoriesAutoConfigurationIntegrationTests {
@Container @Container
private static final Neo4jContainer<?> neo4jServer = new Neo4jContainer<>(DockerImageNames.neo4j()) private static final Neo4jContainer<?> neo4jServer = new Neo4jContainer<>(DockerImageNames.neo4j())
.withStartupTimeout(Duration.ofMinutes(10)); .withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
...@@ -49,7 +49,7 @@ class Neo4jAutoConfigurationIntegrationTests { ...@@ -49,7 +49,7 @@ class Neo4jAutoConfigurationIntegrationTests {
@Container @Container
private static final Neo4jContainer<?> neo4jServer = new Neo4jContainer<>(DockerImageNames.neo4j()) private static final Neo4jContainer<?> neo4jServer = new Neo4jContainer<>(DockerImageNames.neo4j())
.withStartupTimeout(Duration.ofMinutes(10)); .withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
/* /*
* 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 { ...@@ -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));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
/* /*
* 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 { ...@@ -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));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
/* /*
* 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.
...@@ -56,7 +56,7 @@ class DataNeo4jTestReactiveIntegrationTests { ...@@ -56,7 +56,7 @@ class DataNeo4jTestReactiveIntegrationTests {
@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));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
/* /*
* 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 { ...@@ -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));
@DynamicPropertySource @DynamicPropertySource
static void neo4jProperties(DynamicPropertyRegistry registry) { static void neo4jProperties(DynamicPropertyRegistry registry) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment