Skip to content

Commit

Permalink
Separate tests than must be run sequentially from the other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebr72 committed Nov 29, 2023
1 parent 1956d23 commit 2affbcf
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -660,25 +660,38 @@
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<groups>org.fao.geonet.repository.AbstractSpringDataTest</groups>
<includes>
<include>**/*.java</include>
</includes>
<runOrder>alphabetical</runOrder>
<forkCount>${system.numCores}</forkCount>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<forkCount>${system.numCores}</forkCount>
<groups>org.fao.geonet.repository.AbstractSpringDataTest</groups>
<includes>
<includes>**/*.java</includes>
</includes>
<excludes>
<exludes>**/ElasticsearchIndexingTest.java</exludes>
</excludes>
</configuration>
</execution>
<execution>
<id>verify</id>
<id>integration-test-seq</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<forkCount>1</forkCount>
<includes>
<include>**/ElasticsearchIndexingTest.java</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 2affbcf

Please sign in to comment.