|
@@ -515,7 +515,7 @@
|
|
|
<module>ambari-client</module>
|
|
|
<module>ambari-shell</module>
|
|
|
<module>ambari-logsearch</module>
|
|
|
- </modules>
|
|
|
+ </modules>
|
|
|
</profile>
|
|
|
<profile>
|
|
|
<id>ambari-metrics</id>
|
|
@@ -541,7 +541,7 @@
|
|
|
<module>ambari-agent</module>
|
|
|
<module>ambari-client</module>
|
|
|
<module>ambari-shell</module>
|
|
|
- </modules>
|
|
|
+ </modules>
|
|
|
</profile>
|
|
|
<profile>
|
|
|
<id>clover</id>
|
|
@@ -661,87 +661,5 @@ instead of a SNAPSHOT. -->
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</profile>
|
|
|
-
|
|
|
- <!-- Start of profiles for running unit tests.
|
|
|
- The category names are Java interfaces in utility/src/main/java/category/
|
|
|
- The testcase.groups property contains a csv list of these categories (including the Java package name).
|
|
|
-
|
|
|
- To run a suite of all test cases annotated with a list of categories, run the command
|
|
|
- mvn test -P $PROFILE_ID
|
|
|
-
|
|
|
- E.g.,
|
|
|
- mvn test -P FastTests
|
|
|
- -->
|
|
|
-
|
|
|
- <!-- Tests are are explicitly fast. -->
|
|
|
- <profile>
|
|
|
- <id>FastTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.FastTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
-
|
|
|
- <!-- Tests are are explicitly slow. -->
|
|
|
- <profile>
|
|
|
- <id>SlowTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.SlowTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
-
|
|
|
- <!-- Slow tests, or tests that are not annotated. -->
|
|
|
- <profile>
|
|
|
- <id>NonFastTests</id>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <excludedGroups>org.apache.ambari.server.FastTest</excludedGroups>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </profile>
|
|
|
-
|
|
|
- <!-- Unit test Profiles based on features. -->
|
|
|
- <profile>
|
|
|
- <id>AlertTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.AlertTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>AmbariUpgradeTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.AmbariUpgradeTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>BlueprintTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.BlueprintTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>KerberosTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.KerberosTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>MetricsTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.MetricsTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
- <profile>
|
|
|
- <id>StackUpgradeTests</id>
|
|
|
- <properties>
|
|
|
- <testcase.groups>category.StackUpgradeTest</testcase.groups>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
</profiles>
|
|
|
- <!-- End of profiles for running unit tests. -->
|
|
|
</project>
|