Mercurial > hg > thermostat-ng > web-gateway
changeset 207:77039945b1ad
Use failsafe for integration tests
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-July/024242.html
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Fri, 21 Jul 2017 08:30:18 -0400 |
parents | 8276de658fa9 |
children | d986807bc783 |
files | pom.xml tests/integration-tests/pom.xml |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/pom.xml Fri Jul 21 08:28:05 2017 -0400 +++ b/pom.xml Fri Jul 21 08:30:18 2017 -0400 @@ -78,7 +78,6 @@ <license.skip>false</license.skip> <maven.itest.skip>false</maven.itest.skip> - <maven.ptest.skip>true</maven.ptest.skip> <!-- Intentionally empty. See java-7 profile --> <surefire.argline></surefire.argline>
--- a/tests/integration-tests/pom.xml Fri Jul 21 08:28:05 2017 -0400 +++ b/tests/integration-tests/pom.xml Fri Jul 21 08:30:18 2017 -0400 @@ -60,7 +60,13 @@ <execution> <configuration> <redirectTestOutputToFile>true</redirectTestOutputToFile> - <skip>${maven.itest.skip}</skip> + <skipITs>${maven.itest.skip}</skipITs> + <environmentVariables> + <THERMOSTAT_GATEWAY_HOME>${project.build.directory}/../../../distribution/target/image</THERMOSTAT_GATEWAY_HOME> + </environmentVariables> + <includes> + <include>**/*Test.java</include> + </includes> </configuration> <goals> <goal>integration-test</goal> @@ -73,9 +79,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <environmentVariables> - <THERMOSTAT_GATEWAY_HOME>${project.build.directory}/../../../distribution/target/image</THERMOSTAT_GATEWAY_HOME> - </environmentVariables> + <skip>true</skip> </configuration> </plugin> <plugin>