From b706000e2904652f60d4fe8b332f7821b41de992 Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Thu, 8 Jun 2023 23:05:50 +0200 Subject: [PATCH] [CI] Fix test support --- common/function-test-support/pom.xml | 11 +++++++++++ common/mongodb-common/pom.xml | 1 + consumer/cassandra-consumer/pom.xml | 1 + consumer/elasticsearch-consumer/pom.xml | 2 +- consumer/mongodb-consumer/pom.xml | 1 + function/aggregator-function/pom.xml | 1 + spring-functions-parent/pom.xml | 11 +++++++++-- supplier/mongodb-supplier/pom.xml | 1 + 8 files changed, 26 insertions(+), 3 deletions(-) diff --git a/common/function-test-support/pom.xml b/common/function-test-support/pom.xml index e5f67fe9..cbd42ee9 100644 --- a/common/function-test-support/pom.xml +++ b/common/function-test-support/pom.xml @@ -43,18 +43,29 @@ org.apache.sshd sshd-sftp ${sshd-sftp.version} + compile + + + org.junit.jupiter + junit-jupiter + compile org.testcontainers testcontainers + ${testcontainers.version} + compile org.testcontainers junit-jupiter + ${testcontainers.version} + compile org.awaitility awaitility + compile diff --git a/common/mongodb-common/pom.xml b/common/mongodb-common/pom.xml index 1eaeb2c3..3b62ba45 100644 --- a/common/mongodb-common/pom.xml +++ b/common/mongodb-common/pom.xml @@ -18,6 +18,7 @@ org.testcontainers mongodb + ${testcontainers.version} test diff --git a/consumer/cassandra-consumer/pom.xml b/consumer/cassandra-consumer/pom.xml index 9e7de98e..f906614f 100644 --- a/consumer/cassandra-consumer/pom.xml +++ b/consumer/cassandra-consumer/pom.xml @@ -26,6 +26,7 @@ org.testcontainers cassandra + ${testcontainers.version} test diff --git a/consumer/elasticsearch-consumer/pom.xml b/consumer/elasticsearch-consumer/pom.xml index fb00f8af..17042c12 100644 --- a/consumer/elasticsearch-consumer/pom.xml +++ b/consumer/elasticsearch-consumer/pom.xml @@ -41,7 +41,7 @@ org.testcontainers elasticsearch - ${test-containers.version} + ${testcontainers.version} test diff --git a/consumer/mongodb-consumer/pom.xml b/consumer/mongodb-consumer/pom.xml index fd3d274d..1a5ffba9 100644 --- a/consumer/mongodb-consumer/pom.xml +++ b/consumer/mongodb-consumer/pom.xml @@ -26,6 +26,7 @@ org.testcontainers mongodb + ${testcontainers.version} test diff --git a/function/aggregator-function/pom.xml b/function/aggregator-function/pom.xml index 57a24503..6a8d350f 100644 --- a/function/aggregator-function/pom.xml +++ b/function/aggregator-function/pom.xml @@ -37,6 +37,7 @@ org.testcontainers mongodb + ${testcontainers.version} test diff --git a/spring-functions-parent/pom.xml b/spring-functions-parent/pom.xml index 0a7bdb11..26c6221c 100644 --- a/spring-functions-parent/pom.xml +++ b/spring-functions-parent/pom.xml @@ -56,6 +56,11 @@ spring-boot-starter-test test + + org.junit.jupiter + junit-jupiter + test + org.springframework.integration spring-integration-test @@ -68,12 +73,14 @@ org.testcontainers - junit-jupiter + testcontainers + ${testcontainers.version} test org.testcontainers - testcontainers + junit-jupiter + ${testcontainers.version} test diff --git a/supplier/mongodb-supplier/pom.xml b/supplier/mongodb-supplier/pom.xml index 465671b9..0b37beca 100644 --- a/supplier/mongodb-supplier/pom.xml +++ b/supplier/mongodb-supplier/pom.xml @@ -36,6 +36,7 @@ org.testcontainers mongodb + ${testcontainers.version} test