This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5fc4137cf5502cc0f9c1f268ff4a536885b1e61c Author: Guillaume Nodet <[email protected]> AuthorDate: Wed Jun 24 14:59:11 2020 +0200 [CAMEL-11807] Upgrade camel-flink to junit5 --- components/camel-flink/pom.xml | 2 +- .../test/java/org/apache/camel/component/flink/FlinkProducerTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-flink/pom.xml b/components/camel-flink/pom.xml index fb1204c..94135b2 100644 --- a/components/camel-flink/pom.xml +++ b/components/camel-flink/pom.xml @@ -99,7 +99,7 @@ <!--testing--> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-test</artifactId> + <artifactId>camel-test-junit5</artifactId> <scope>test</scope> </dependency> <dependency> diff --git a/components/camel-flink/src/test/java/org/apache/camel/component/flink/FlinkProducerTest.java b/components/camel-flink/src/test/java/org/apache/camel/component/flink/FlinkProducerTest.java index 9daff8a..9886439 100644 --- a/components/camel-flink/src/test/java/org/apache/camel/component/flink/FlinkProducerTest.java +++ b/components/camel-flink/src/test/java/org/apache/camel/component/flink/FlinkProducerTest.java @@ -22,7 +22,7 @@ import java.util.Arrays; import org.apache.camel.BindToRegistry; import org.apache.camel.component.flink.annotations.AnnotatedDataSetCallback; -import org.apache.camel.test.junit4.CamelTestSupport; +import org.apache.camel.test.junit5.CamelTestSupport; import org.apache.flink.api.java.DataSet; import org.apache.flink.api.java.ExecutionEnvironment; import org.apache.flink.api.java.operators.DataSource; @@ -30,7 +30,7 @@ import org.apache.flink.streaming.api.datastream.DataStream; import org.apache.flink.streaming.api.datastream.DataStreamSource; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import org.assertj.core.api.Assertions; -import org.junit.Test; +import org.junit.jupiter.api.Test; public class FlinkProducerTest extends CamelTestSupport {
