|
|
|
@ -19,7 +19,6 @@ package org.springframework.boot.autoconfigure.data.elasticsearch;
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.testcontainers.elasticsearch.ElasticsearchContainer;
|
|
|
|
|
import org.testcontainers.junit.jupiter.Container;
|
|
|
|
|
import org.testcontainers.junit.jupiter.Testcontainers;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigurations;
|
|
|
|
|
import org.springframework.boot.autoconfigure.TestAutoConfigurationPackage;
|
|
|
|
@ -28,6 +27,7 @@ import org.springframework.boot.autoconfigure.data.elasticsearch.city.City;
|
|
|
|
|
import org.springframework.boot.autoconfigure.data.elasticsearch.city.ReactiveCityRepository;
|
|
|
|
|
import org.springframework.boot.autoconfigure.data.empty.EmptyDataPackage;
|
|
|
|
|
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
|
|
|
|
|
import org.springframework.boot.testsupport.testcontainers.DisabledWithoutDockerTestcontainers;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
import org.springframework.data.elasticsearch.core.ReactiveElasticsearchTemplate;
|
|
|
|
|
import org.springframework.data.elasticsearch.repository.config.EnableReactiveElasticsearchRepositories;
|
|
|
|
@ -41,7 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
* @author Andy Wilkinson
|
|
|
|
|
* @author Brian Clozel
|
|
|
|
|
*/
|
|
|
|
|
@Testcontainers
|
|
|
|
|
@DisabledWithoutDockerTestcontainers
|
|
|
|
|
public class ReactiveElasticsearchRepositoriesAutoConfigurationTests {
|
|
|
|
|
|
|
|
|
|
@Container
|
|
|
|
|