You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/04/16 12:41:44 UTC
[camel] branch master updated: CAMEL-16400: split unit and
integration tests for camel-lucene (#5395)
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7b84f6f CAMEL-16400: split unit and integration tests for camel-lucene (#5395)
7b84f6f is described below
commit 7b84f6fb0386d76a427b262590529b7c7c44a7db
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Fri Apr 16 14:41:17 2021 +0200
CAMEL-16400: split unit and integration tests for camel-lucene (#5395)
---
components/camel-lucene/pom.xml | 9 +++++++++
...QueryProducerTest.java => LuceneIndexAndQueryProducerIT.java} | 4 ++--
...LuceneQueryProcessorTest.java => LuceneQueryProcessorIT.java} | 4 ++--
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/components/camel-lucene/pom.xml b/components/camel-lucene/pom.xml
index a24fc85..dc08b8e 100644
--- a/components/camel-lucene/pom.xml
+++ b/components/camel-lucene/pom.xml
@@ -89,6 +89,15 @@
</filesets>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <systemPropertyVariables>
+ <visibleassertions.silence>true</visibleassertions.silence>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java b/components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerIT.java
similarity index 99%
rename from components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java
rename to components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerIT.java
index 66e256f..e22eed7 100644
--- a/components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java
+++ b/components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerIT.java
@@ -37,8 +37,8 @@ import org.slf4j.LoggerFactory;
import static org.junit.jupiter.api.Assertions.assertTrue;
-public class LuceneIndexAndQueryProducerTest extends CamelTestSupport {
- private static final Logger LOG = LoggerFactory.getLogger(LuceneIndexAndQueryProducerTest.class);
+public class LuceneIndexAndQueryProducerIT extends CamelTestSupport {
+ private static final Logger LOG = LoggerFactory.getLogger(LuceneIndexAndQueryProducerIT.class);
private String[] humorousQuotes = {
"I think, therefore I am. I think - George Carlin",
diff --git a/components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java b/components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorIT.java
similarity index 98%
rename from components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java
rename to components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorIT.java
index fc5d570..dc7c209 100644
--- a/components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java
+++ b/components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorIT.java
@@ -29,8 +29,8 @@ import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class LuceneQueryProcessorTest extends CamelTestSupport {
- private static final Logger LOG = LoggerFactory.getLogger(LuceneQueryProcessorTest.class);
+public class LuceneQueryProcessorIT extends CamelTestSupport {
+ private static final Logger LOG = LoggerFactory.getLogger(LuceneQueryProcessorIT.class);
@Override
public boolean isUseRouteBuilder() {