Re-split the invoked integration tests and verify into separate phases.
This commit is contained in:
parent
b10b42c10a
commit
5ab0b117d2
21
pom.xml
21
pom.xml
|
|
@ -542,6 +542,14 @@
|
||||||
<maven.surefire.debug>${maven.surefire.debug}</maven.surefire.debug>
|
<maven.surefire.debug>${maven.surefire.debug}</maven.surefire.debug>
|
||||||
<maven.failsafe.debug>${maven.failsafe.debug}</maven.failsafe.debug>
|
<maven.failsafe.debug>${maven.failsafe.debug}</maven.failsafe.debug>
|
||||||
</properties>
|
</properties>
|
||||||
|
<!--
|
||||||
|
To allow using separated integration-test and verify, each execution must use a separate reportsDirectory.
|
||||||
|
|
||||||
|
Otherwise, when an empty "pipeline test" later runs on an IntegrationTest class,
|
||||||
|
it overwrites the results of the previous invocation always with a zero exit status.
|
||||||
|
|
||||||
|
Mixing in the test name into the reportsDirectory also avoids collisions, when different maven jobs run tests in parallel.
|
||||||
|
-->
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
@ -553,6 +561,7 @@
|
||||||
<goals>
|
<goals>
|
||||||
<goal>test</goal>
|
<goal>test</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<reportsDirectory>${project.build.directory}/invoker-reports/unit/${test}</reportsDirectory>
|
||||||
<skipInvocation>${sting.packageunittests.skipped}</skipInvocation>
|
<skipInvocation>${sting.packageunittests.skipped}</skipInvocation>
|
||||||
<properties>
|
<properties>
|
||||||
<unittests.profile.enabled>true</unittests.profile.enabled>
|
<unittests.profile.enabled>true</unittests.profile.enabled>
|
||||||
|
|
@ -563,12 +572,14 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>package-integrationtests</id>
|
<id>package-integrationtests</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>integration-test</goal>
|
||||||
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>verify</goal>
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<reportsDirectory>${project.build.directory}/invoker-reports/integration/${it.test}</reportsDirectory>
|
||||||
<skipInvocation>${sting.packageintegrationtests.skipped}</skipInvocation>
|
<skipInvocation>${sting.packageintegrationtests.skipped}</skipInvocation>
|
||||||
<properties>
|
<properties>
|
||||||
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
||||||
|
|
@ -579,12 +590,14 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>package-pipelinetests</id>
|
<id>package-pipelinetests</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>integration-test</goal>
|
||||||
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>verify</goal>
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<reportsDirectory>${project.build.directory}/invoker-reports/pipeline/${it.test}</reportsDirectory>
|
||||||
<skipInvocation>${sting.packagepipelinetests.skipped}</skipInvocation>
|
<skipInvocation>${sting.packagepipelinetests.skipped}</skipInvocation>
|
||||||
<properties>
|
<properties>
|
||||||
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
||||||
|
|
@ -595,12 +608,14 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>package-largescaletests</id>
|
<id>package-largescaletests</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>integration-test</goal>
|
||||||
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>verify</goal>
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
<reportsDirectory>${project.build.directory}/invoker-reports/largescale/${it.test}</reportsDirectory>
|
||||||
<skipInvocation>${sting.packagelargescaletests.skipped}</skipInvocation>
|
<skipInvocation>${sting.packagelargescaletests.skipped}</skipInvocation>
|
||||||
<properties>
|
<properties>
|
||||||
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
<integrationtests.profile.enabled>true</integrationtests.profile.enabled>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue