You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/12/17 13:30:16 UTC
[syncope] branch master updated: Running console IT cases by default
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 414e2b3 Running console IT cases by default
414e2b3 is described below
commit 414e2b314f7f26040f0f14117d3adc2f21b68cd8
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue Dec 17 14:22:23 2019 +0100
Running console IT cases by default
---
.travis.yml | 2 +-
fit/core-reference/pom.xml | 53 +++++++---------------------------------------
src/site/xdoc/building.xml | 5 -----
3 files changed, 9 insertions(+), 51 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index ed7569d..fa55c54 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,7 +53,7 @@ jobs:
name: "Unit Tests"
######################################################
- stage: fit
- script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P full-it,all -T 1C -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Djacoco.skip=true
+ script: travis_wait 55 mvn -f fit/core-reference/pom.xml verify -P all -T 1C -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Djacoco.skip=true
name: "Full Integration Tests via JSON Content-Type"
#####################################################
after_failure:
diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index c39b9cc..c327f43 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -222,6 +222,13 @@ under the License.
<artifactId>bcpkix-jdk15on</artifactId>
<scope>test</scope>
</dependency>
+ <!-- required by wicket tester -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.12</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
@@ -261,7 +268,6 @@ under the License.
</executions>
</plugin>
- <!-- By default, only core IT cases are run, use the 'full-it' profile for running all IT cases -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
@@ -269,10 +275,8 @@ under the License.
<configuration>
<systemPropertyVariables>
<jaxrsContentType>${jaxrs.content.type}</jaxrsContentType>
+ <obscureSecretKey>${obscureSecretKey}</obscureSecretKey>
</systemPropertyVariables>
- <includes>
- <include>**/org/apache/syncope/fit/core/*ITCase.java</include>
- </includes>
</configuration>
<executions>
<execution>
@@ -433,47 +437,6 @@ under the License.
<profiles>
<profile>
- <id>full-it</id>
-
- <dependencies>
- <!-- required by wicket tester -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <systemPropertyVariables>
- <jaxrsContentType>${jaxrs.content.type}</jaxrsContentType>
- <obscureSecretKey>${obscureSecretKey}</obscureSecretKey>
- </systemPropertyVariables>
- <includes>
- <include>**/*ITCase.java</include>
- </includes>
- </configuration>
- <executions>
- <execution>
- <id>verify</id>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
<id>zookeper-it</id>
<build>
diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml
index 288ba47..3981a83 100644
--- a/src/site/xdoc/building.xml
+++ b/src/site/xdoc/building.xml
@@ -129,11 +129,6 @@ under the License.
subdirectory, not from top-level.
</p>
<subsection name="fit/core-reference">
- <h4>All integration tests</h4>
- In order to keep the overall build time under acceptable time limits on average hardware, not all the available
- integration tests are run by default; in order to run them all, anyway, a specific build profile is provided.
- <source>$ mvn clean verify -Pfull-it,all</source>
-
<h4>Other Content-Type values</h4>
By default, integration tests are run using <tt>application/json</tt> for both <tt>Accept</tt> and
<tt>Content-Type</tt> HTTP headers; it is possible, however, to use <tt>application/xml</tt> or