Skip to content

Commit

Permalink
Merge pull request #25147 from holly-cummins/elasticsearch-testcontai…
Browse files Browse the repository at this point in the history
…ners-guard

Do not running elasticsearch-rest-client-deployment tests unless -Dtest-containers is set
  • Loading branch information
gsmet authored Apr 26, 2022
2 parents 75f01bf + af61463 commit 316c8ba
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions extensions/elasticsearch-rest-client/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,34 @@
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>test-elasticsearch</id>
<activation>
<property>
<name>test-containers</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 316c8ba

Please sign in to comment.