Skip to content

Commit

Permalink
HSEARCH-4783 Configure more integration test modules to be able to ru…
Browse files Browse the repository at this point in the history
…n against non-H2 databases
  • Loading branch information
yrodiere committed Jan 24, 2023
1 parent 45480ec commit eb3a528
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions integrationtest/mapper/orm-batch-jsr352/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<properties>
<test.elasticsearch.run.skip>${test.elasticsearch.connection.uris.defined}</test.elasticsearch.run.skip>
<test.database.run.skip>false</test.database.run.skip>

<surefire.jvm.args.module>
${test.elasticsearch.connection.jvm.args}
Expand Down
6 changes: 6 additions & 0 deletions integrationtest/mapper/orm-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<description>Hibernate Search integration tests for the Hibernate ORM integration with CDI</description>

<properties>
<test.database.run.skip>false</test.database.run.skip>
<surefire.jvm.args.module>
${test.weld.jvm.args}
</surefire.jvm.args.module>
Expand Down Expand Up @@ -67,6 +68,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
1 change: 1 addition & 0 deletions integrationtest/mapper/orm-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<description>Hibernate Search integration tests for the Hibernate ORM integration with Spring</description>

<properties>
<test.database.run.skip>false</test.database.run.skip>
<!--
Remove Hibernate system properties from parent settings:
They are supposed to be handled by the spring.datasource subsystem
Expand Down
7 changes: 7 additions & 0 deletions integrationtest/v5migrationhelper/orm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<jqassistant.skip>true</jqassistant.skip>
<forbiddenapis.skip>true</forbiddenapis.skip>
<sonar.skip>true</sonar.skip>

<test.database.run.skip>false</test.database.run.skip>
</properties>

<dependencies>
Expand Down Expand Up @@ -105,6 +107,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions jakarta/integrationtest/mapper/orm-batch-jsr352/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<transform.original.pathFromRoot>integrationtest/mapper/orm-batch-jsr352</transform.original.pathFromRoot>

<test.elasticsearch.run.skip>${test.elasticsearch.connection.uris.defined}</test.elasticsearch.run.skip>
<test.database.run.skip>false</test.database.run.skip>

<surefire.jvm.args.module>
${test.elasticsearch.connection.jvm.args}
Expand Down
6 changes: 6 additions & 0 deletions jakarta/integrationtest/mapper/orm-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<properties>
<transform.original.pathFromRoot>integrationtest/mapper/orm-cdi</transform.original.pathFromRoot>

<test.database.run.skip>false</test.database.run.skip>
<surefire.jvm.args.module>
${test.weld.jvm.args}
</surefire.jvm.args.module>
Expand Down Expand Up @@ -72,6 +73,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
7 changes: 7 additions & 0 deletions jakarta/integrationtest/v5migrationhelper/orm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<jqassistant.skip>true</jqassistant.skip>
<forbiddenapis.skip>true</forbiddenapis.skip>
<sonar.skip>true</sonar.skip>

<test.database.run.skip>false</test.database.run.skip>
</properties>

<dependencies>
Expand Down Expand Up @@ -110,6 +112,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions orm6/integrationtest/mapper/orm-batch-jsr352/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<transform.original.pathFromRoot>integrationtest/mapper/orm-batch-jsr352</transform.original.pathFromRoot>

<test.elasticsearch.run.skip>${test.elasticsearch.connection.uris.defined}</test.elasticsearch.run.skip>
<test.database.run.skip>false</test.database.run.skip>

<surefire.jvm.args.module>
${test.elasticsearch.connection.jvm.args}
Expand Down
6 changes: 6 additions & 0 deletions orm6/integrationtest/mapper/orm-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<properties>
<transform.original.pathFromRoot>integrationtest/mapper/orm-cdi</transform.original.pathFromRoot>

<test.database.run.skip>false</test.database.run.skip>
<surefire.jvm.args.module>
${test.weld.jvm.args}
</surefire.jvm.args.module>
Expand Down Expand Up @@ -72,6 +73,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
7 changes: 7 additions & 0 deletions orm6/integrationtest/v5migrationhelper/orm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<jqassistant.skip>true</jqassistant.skip>
<forbiddenapis.skip>true</forbiddenapis.skip>
<sonar.skip>true</sonar.skip>

<test.database.run.skip>false</test.database.run.skip>
</properties>

<dependencies>
Expand Down Expand Up @@ -110,6 +112,11 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit eb3a528

Please sign in to comment.