|
|
|
@ -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");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -54,8 +54,10 @@ public class ReactiveElasticsearchRepositoriesAutoConfigurationTests {
|
|
|
|
|
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
|
|
|
|
.withConfiguration(AutoConfigurations.of(ReactiveElasticsearchRestClientAutoConfiguration.class,
|
|
|
|
|
ReactiveElasticsearchRepositoriesAutoConfiguration.class, ElasticsearchDataAutoConfiguration.class))
|
|
|
|
|
.withPropertyValues("spring.data.elasticsearch.client.reactive.endpoints=" + elasticsearch.getHost() + ":"
|
|
|
|
|
+ elasticsearch.getFirstMappedPort());
|
|
|
|
|
.withPropertyValues(
|
|
|
|
|
"spring.data.elasticsearch.client.reactive.endpoints=" + elasticsearch.getHost() + ":"
|
|
|
|
|
+ elasticsearch.getFirstMappedPort(),
|
|
|
|
|
"spring.data.elasticsearch.client.reactive.socket-timeout=30s");
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
void testDefaultRepositoryConfiguration() {
|
|
|
|
|