Skip to content

Commit 45f1133

Browse files
committed
Merge branch '2.3.x'
2 parents 7fb21fb + 339c8d0 commit 45f1133

File tree

7 files changed

+4
-10
lines changed

7 files changed

+4
-10
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchRepositoriesAutoConfigurationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.springframework.boot.autoconfigure.data.empty.EmptyDataPackage;
3232
import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration;
3333
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
34-
import org.springframework.boot.testsupport.testcontainers.VersionOverridingElasticsearchContainer;
3534
import org.springframework.context.annotation.Configuration;
3635
import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
3736
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveElasticsearchRepositoriesAutoConfigurationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.springframework.boot.autoconfigure.data.elasticsearch.city.ReactiveCityRepository;
3131
import org.springframework.boot.autoconfigure.data.empty.EmptyDataPackage;
3232
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
33-
import org.springframework.boot.testsupport.testcontainers.VersionOverridingElasticsearchContainer;
3433
import org.springframework.context.annotation.Configuration;
3534
import org.springframework.data.elasticsearch.core.ReactiveElasticsearchTemplate;
3635
import org.springframework.data.elasticsearch.repository.config.EnableReactiveElasticsearchRepositories;

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveElasticsearchRestClientAutoConfigurationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
import org.springframework.boot.autoconfigure.AutoConfigurations;
3232
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
33-
import org.springframework.boot.testsupport.testcontainers.VersionOverridingElasticsearchContainer;
3433
import org.springframework.context.annotation.Bean;
3534
import org.springframework.context.annotation.Configuration;
3635
import org.springframework.data.elasticsearch.client.ClientConfiguration;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.boot.testsupport.testcontainers;
16+
package org.springframework.boot.autoconfigure.data.elasticsearch;
1717

1818
import org.elasticsearch.Version;
1919
import org.testcontainers.elasticsearch.ElasticsearchContainer;

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchRestClientAutoConfigurationTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141

4242
import org.springframework.boot.autoconfigure.AutoConfigurations;
4343
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
44-
import org.springframework.boot.testsupport.testcontainers.VersionOverridingElasticsearchContainer;
4544
import org.springframework.context.annotation.Bean;
4645
import org.springframework.context.annotation.Configuration;
4746

@@ -59,8 +58,8 @@
5958
class ElasticsearchRestClientAutoConfigurationTests {
6059

6160
@Container
62-
static final ElasticsearchContainer elasticsearch = new VersionOverridingElasticsearchContainer()
63-
.withStartupAttempts(5).withStartupTimeout(Duration.ofMinutes(10));
61+
static final ElasticsearchContainer elasticsearch = new ElasticsearchContainer().withStartupAttempts(5)
62+
.withStartupTimeout(Duration.ofMinutes(10));
6463

6564
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
6665
.withConfiguration(AutoConfigurations.of(ElasticsearchRestClientAutoConfiguration.class));

spring-boot-project/spring-boot-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ bom {
156156
]
157157
}
158158
}
159-
library("Testcontainers", "1.15.0") {
159+
library("Testcontainers", "1.14.3") {
160160
group("org.testcontainers") {
161161
imports = [
162162
"testcontainers-bom"

spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ dependencies {
1111
compileOnly("com.datastax.oss:java-driver-core")
1212
compileOnly("javax.servlet:javax.servlet-api")
1313
compileOnly("junit:junit")
14-
compileOnly("org.elasticsearch:elasticsearch")
1514
compileOnly("org.junit.jupiter:junit-jupiter")
1615
compileOnly("org.junit.platform:junit-platform-engine")
1716
compileOnly("org.mockito:mockito-core")
1817
compileOnly("org.springframework:spring-context")
1918
compileOnly("org.springframework.data:spring-data-redis")
20-
compileOnly("org.testcontainers:elasticsearch")
2119
compileOnly("org.testcontainers:testcontainers")
2220

2321
implementation("org.apache.maven.resolver:maven-resolver-connector-basic")

0 commit comments

Comments
 (0)