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/19 11:53:21 UTC
[camel] branch master updated: CAMEL-16400: adjust manual
integration tests for camel-opentracing (#5416)
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 e65bac0 CAMEL-16400: adjust manual integration tests for camel-opentracing (#5416)
e65bac0 is described below
commit e65bac0d845028d9dabac341c6fb6377a38bd613
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Mon Apr 19 13:53:02 2021 +0200
CAMEL-16400: adjust manual integration tests for camel-opentracing (#5416)
---
components/camel-opentracing/pom.xml | 10 ++++++++++
...onIntegrationTest.java => ThirdPartyInstrumentationIT.java} | 4 ++--
.../integration/{InterprocessTest.java => InterprocessIT.java} | 4 ++--
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/components/camel-opentracing/pom.xml b/components/camel-opentracing/pom.xml
index dfc9b07..01529fb 100644
--- a/components/camel-opentracing/pom.xml
+++ b/components/camel-opentracing/pom.xml
@@ -139,6 +139,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git a/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIntegrationTest.java b/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIT.java
similarity index 96%
rename from components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIntegrationTest.java
rename to components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIT.java
index dddcb66..7c13a48 100644
--- a/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIntegrationTest.java
+++ b/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/ThirdPartyInstrumentationIT.java
@@ -41,7 +41,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
* Validates that {@link OpenTracingTracer} is compatible with third-party tracing solutions, i.e. integrates into
* active traces and allows others to integrate into Camel-initialized traces.
*/
-public class ThirdPartyInstrumentationIntegrationTest extends CamelTestSupport {
+public class ThirdPartyInstrumentationIT extends CamelTestSupport {
private MockTracer tracer;
@@ -130,7 +130,7 @@ public class ThirdPartyInstrumentationIntegrationTest extends CamelTestSupport {
@Override
public void configure() {
from("direct:DirectProcessor")
- .process(ThirdPartyInstrumentationIntegrationTest.this::tracingProcessor);
+ .process(ThirdPartyInstrumentationIT.this::tracingProcessor);
}
};
}
diff --git a/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessTest.java b/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessIT.java
similarity index 97%
rename from components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessTest.java
rename to components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessIT.java
index 64b9365..6379b5c 100644
--- a/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessTest.java
+++ b/components/camel-opentracing/src/test/java/org/apache/camel/opentracing/integration/InterprocessIT.java
@@ -28,7 +28,7 @@ import org.apache.camel.opentracing.SpanTestData;
import org.apache.camel.test.AvailablePortFinder;
import org.junit.jupiter.api.Test;
-public class InterprocessTest extends CamelOpenTracingTestSupport {
+public class InterprocessIT extends CamelOpenTracingTestSupport {
private static final String URL = "http://localhost:" + AvailablePortFinder.getNextAvailable() + "/test";
private static final String URI = "jetty:" + URL;
@@ -52,7 +52,7 @@ public class InterprocessTest extends CamelOpenTracingTestSupport {
.addTag(Tags.HTTP_STATUS.getKey(), "200")
};
- public InterprocessTest() {
+ public InterprocessIT() {
super(testdata);
}