|
|
@ -55,9 +55,8 @@ class ReactiveElasticsearchRepositoriesAutoConfigurationTests {
|
|
|
|
.withConfiguration(AutoConfigurations.of(ReactiveElasticsearchRestClientAutoConfiguration.class,
|
|
|
|
.withConfiguration(AutoConfigurations.of(ReactiveElasticsearchRestClientAutoConfiguration.class,
|
|
|
|
ReactiveElasticsearchRepositoriesAutoConfiguration.class, ElasticsearchDataAutoConfiguration.class))
|
|
|
|
ReactiveElasticsearchRepositoriesAutoConfiguration.class, ElasticsearchDataAutoConfiguration.class))
|
|
|
|
.withPropertyValues(
|
|
|
|
.withPropertyValues(
|
|
|
|
"spring.data.elasticsearch.client.reactive.endpoints=" + elasticsearch.getHost() + ":"
|
|
|
|
"spring.elasticsearch.uris=" + elasticsearch.getHost() + ":" + elasticsearch.getFirstMappedPort(),
|
|
|
|
+ elasticsearch.getFirstMappedPort(),
|
|
|
|
"spring.elasticsearch.socket-timeout=30s");
|
|
|
|
"spring.data.elasticsearch.client.reactive.socket-timeout=30s");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
void testDefaultRepositoryConfiguration() {
|
|
|
|
void testDefaultRepositoryConfiguration() {
|
|
|
|