You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/07/18 15:27:24 UTC
[camel] 02/02: Re-introduced Spring Boot Integration test for
Camel-Elasticsearch-rest
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c52fde146d385c0b644e084aaaa6ee4d0edc9ec8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jul 18 17:26:38 2019 +0200
Re-introduced Spring Boot Integration test for Camel-Elasticsearch-rest
---
.../apache/camel/itest/springboot/CamelElasticsearchRestTest.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelElasticsearchRestTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelElasticsearchRestTest.java
index b265eda..61bd66a 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelElasticsearchRestTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelElasticsearchRestTest.java
@@ -20,13 +20,10 @@ import org.apache.camel.itest.springboot.util.ArquillianPackager;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
-
@RunWith(Arquillian.class)
-@Ignore("Requires Lucene 6.x and Spring-Boot 1.x is using 5.x")
public class CamelElasticsearchRestTest extends AbstractSpringBootTestSupport {
@Deployment
@@ -37,7 +34,9 @@ public class CamelElasticsearchRestTest extends AbstractSpringBootTestSupport {
public static ITestConfig createTestConfig() {
return new ITestConfigBuilder()
.module(inferModuleName(CamelElasticsearchRestTest.class))
- .unitTestExclusionPattern(".*(\\.integration\\..*|IntegrationTest$|BaseTest$)")
+ .dependency("org.elasticsearch.client:elasticsearch-rest-client-sniffer:7.1.1")
+ .dependency("org.elasticsearch.client:elasticsearch-rest-client:7.1.1")
+ .dependency("org.elasticsearch.client:elasticsearch-rest-high-level-client:7.1.1")
.build();
}