Skip to content

Commit

Permalink
Minor: Fix systemPropertyVariables for maven profiles, fixes postgres…
Browse files Browse the repository at this point in the history
… tests run
  • Loading branch information
harshach committed Nov 23, 2023
1 parent 171585d commit c9d5eb1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions openmetadata-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,6 @@
</profile>
<profile>
<id>postgres-tests</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
Expand All @@ -563,6 +560,9 @@
<systemPropertyVariables>
<jdbcContainerClassName>org.testcontainers.containers.PostgreSQLContainer</jdbcContainerClassName>
<jdbcContainerImage>postgres:15</jdbcContainerImage>
<elasticSearchContainerClassName>docker.elastic.co/elasticsearch/elasticsearch:8.10.2</elasticSearchContainerClassName>
<openSearchContainerClassName>opensearchproject/opensearch:2.7.0</openSearchContainerClassName>
<runESTestCases>false</runESTestCases>
</systemPropertyVariables>
</configuration>
<executions>
Expand All @@ -581,6 +581,9 @@
</build>
</profile>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<id>mysql-tests</id>
<build>
<plugins>
Expand All @@ -596,6 +599,9 @@
<systemPropertyVariables>
<jdbcContainerClassName>org.testcontainers.containers.MySQLContainer</jdbcContainerClassName>
<jdbcContainerImage>mysql:8</jdbcContainerImage>
<elasticSearchContainerClassName>docker.elastic.co/elasticsearch/elasticsearch:8.10.2</elasticSearchContainerClassName>
<openSearchContainerClassName>opensearchproject/opensearch:2.7.0</openSearchContainerClassName>
<runESTestCases>false</runESTestCases>
</systemPropertyVariables>
</configuration>
<executions>
Expand All @@ -614,7 +620,6 @@
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
Expand Down

0 comments on commit c9d5eb1

Please sign in to comment.