diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2020-12-17 11:26:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-17 11:26:17 +0000 |
commit | 951b41eb70a8dfb90dc357cb20bda07a832eaec1 (patch) | |
tree | ab8778e4260a8ee174fdc35ca23bc889d452a4ed /cps-parent | |
parent | 5337a5f3f75de945b612068fd441bfa416084440 (diff) | |
parent | bf02f2083a6e55874eb7852f9eeedaaa7a491804 (diff) |
Merge "Enable tests using test containers on jenkins"
Diffstat (limited to 'cps-parent')
-rw-r--r-- | cps-parent/pom.xml | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 9c1760cf23..55db1a198e 100644 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -94,26 +94,6 @@ </pluginManagement> </build> </profile> - <profile> - <id>skip-db-tests</id> - <activation> - <!-- exclude module tests by default till Jenkins is configured to support test containers --> - <activeByDefault>true</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <excludes> - <exclude>**/spi/impl/*Test.java</exclude> - </excludes> - </configuration> - </plugin> - </plugins> - </build> - </profile> </profiles> <dependencyManagement> @@ -334,6 +314,14 @@ <excludes> <exclude>**/IT*.java</exclude> </excludes> + <environmentVariables> + <!-- + disable privileged container usage to cleanup the test containers; + these will be removed automatically on jvm termination; + see https://www.testcontainers.org/features/configuration/#disabling-ryuk + --> + <TESTCONTAINERS_RYUK_DISABLED>true</TESTCONTAINERS_RYUK_DISABLED> + </environmentVariables> </configuration> </plugin> <plugin> |