summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-06-28 19:59:14 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-29 10:28:43 +0000
commit6d4057b032a30daa8388f9f1a323eae1581eb91c (patch)
tree77dababf868c5036e713b67057ce068f25a5bc82
parentec12bc7580b1e46d09d44fda27b83d596d51586c (diff)
Introduce new profiles to run IT separately
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I2d64360ced72bbf122d826f9cf7b5d8b90b123b5 Issue-ID: SDC-4553
-rw-r--r--integration-tests/pom.xml64
-rw-r--r--pom.xml56
2 files changed, 120 insertions, 0 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index 9717564cdc..a2a41db32d 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -1053,5 +1053,69 @@ limitations under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>run-integration-tests-api</id>
+ <properties>
+ <it.helm-validator.disabled>false</it.helm-validator.disabled>
+ <skipYamlJsonValidator>true</skipYamlJsonValidator>
+ <checkstyle.skip>true</checkstyle.skip>
+ <surefire.skip.tests>true</surefire.skip.tests>
+ <skipTest>false</skipTest>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <systemProperties>
+ <property>
+ <name>testng.dtd.http</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <suiteXmlFiles>
+ <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run-integration-tests-ui</id>
+ <properties>
+ <it.helm-validator.disabled>false</it.helm-validator.disabled>
+ <skipYamlJsonValidator>true</skipYamlJsonValidator>
+ <checkstyle.skip>true</checkstyle.skip>
+ <surefire.skip.tests>true</surefire.skip.tests>
+ <skipTest>false</skipTest>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <systemProperties>
+ <property>
+ <name>testng.dtd.http</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <suiteXmlFiles>
+ <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/pom.xml b/pom.xml
index 6d881480a9..7f2d617842 100644
--- a/pom.xml
+++ b/pom.xml
@@ -903,6 +903,62 @@ Modifications copyright (c) 2018-2019 Nokia
<module>integration-tests</module>
</modules>
</profile>
+ <profile>
+ <id>run-integration-tests-api</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <skipYamlJsonValidator>true</skipYamlJsonValidator>
+ <checkstyle.skip>true</checkstyle.skip>
+ <surefire.skip.tests>true</surefire.skip.tests>
+ </properties>
+ <modules>
+ <module>onboarding</module>
+ <module>common-app-logging</module>
+ <module>common-app-api</module>
+ <module>common-be</module>
+ <module>common-be-tests-utils</module>
+ <module>catalog-dao</module>
+ <module>catalog-model</module>
+ <module>catalog-be</module>
+ <module>catalog-be-plugins</module>
+ <module>asdctool</module>
+ <module>catalog-ui</module>
+ <module>catalog-fe</module>
+ <module>sdc-os-chef</module>
+ <module>utils/webseal-simulator</module>
+ <module>integration-tests</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>run-integration-tests-ui</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <skipYamlJsonValidator>true</skipYamlJsonValidator>
+ <checkstyle.skip>true</checkstyle.skip>
+ <surefire.skip.tests>true</surefire.skip.tests>
+ </properties>
+ <modules>
+ <module>onboarding</module>
+ <module>common-app-logging</module>
+ <module>common-app-api</module>
+ <module>common-be</module>
+ <module>common-be-tests-utils</module>
+ <module>catalog-dao</module>
+ <module>catalog-model</module>
+ <module>catalog-be</module>
+ <module>catalog-be-plugins</module>
+ <module>asdctool</module>
+ <module>catalog-ui</module>
+ <module>catalog-fe</module>
+ <module>sdc-os-chef</module>
+ <module>utils/webseal-simulator</module>
+ <module>integration-tests</module>
+ </modules>
+ </profile>
</profiles>
<repositories>