Skip to content

Commit

Permalink
have all enterprise modules run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
lassewesth committed Sep 4, 2017
1 parent 3a4463d commit 69ddea8
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 142 deletions.
20 changes: 0 additions & 20 deletions enterprise/backup/pom.xml
Expand Up @@ -49,26 +49,6 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.neo4j.build.plugins</groupId>
<artifactId>clirr-maven-plugin</artifactId>
Expand Down
25 changes: 0 additions & 25 deletions enterprise/causal-clustering/pom.xml
Expand Up @@ -250,30 +250,5 @@
</properties>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>

</project>
24 changes: 0 additions & 24 deletions enterprise/cluster/pom.xml
Expand Up @@ -113,28 +113,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
24 changes: 0 additions & 24 deletions enterprise/ha/pom.xml
Expand Up @@ -205,28 +205,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
24 changes: 0 additions & 24 deletions enterprise/neo4j-harness-enterprise/pom.xml
Expand Up @@ -125,28 +125,4 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
24 changes: 24 additions & 0 deletions enterprise/pom.xml
Expand Up @@ -82,4 +82,28 @@ terms of the relevant Commercial Agreement.
</license>
</licenses>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>0.5C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>
25 changes: 0 additions & 25 deletions enterprise/server-enterprise/pom.xml
Expand Up @@ -218,30 +218,5 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<!-- Integration tests spend significant time waiting, so we can run more things in parallel here-->
<forkCount>1C</forkCount>
<!-- Misha says it is not safe to run tests with more than one thread per JVM -->
<!-- He also said he'd fix that! -->
<threadCount>1</threadCount>
<!-- slowest test class takes up to 10 minutes, so let's cater for that, with contingency -->
<parallelTestsTimeoutInSeconds>1200</parallelTestsTimeoutInSeconds>
<parallelTestsTimeoutForcedInSeconds>1800</parallelTestsTimeoutForcedInSeconds>
<!-- file system separation between forks -->
<workingDirectory>${project.build.directory}/FORK_DIRECTORY_${surefire.forkNumber}</workingDirectory>
<systemPropertyVariables>
<!-- coordination on ports between forks -->
<port.authority.directory>${user.dir}/target/port-authority-${maven.build.timestamp}</port.authority.directory>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 69ddea8

Please sign in to comment.