Skip to content

Commit

Permalink
[FLINK-5772] [elasticsearch] Allow Elasticsearch 1.x tests to rerun o…
Browse files Browse the repository at this point in the history
…n failure

This is allowed because Elasticsearch 1.x has a potential deadlock when
creating indices. Since this flakiness rarely happens, this commit
allows rerunning the Elasticsearch 1.x tests to try to mitigate this
problem instead of just failing them.

This closes #3410.
  • Loading branch information
tzulitai committed Feb 27, 2017
1 parent c57f07b commit 72f56d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions flink-connectors/flink-connector-elasticsearch/pom.xml
Expand Up @@ -84,4 +84,16 @@ under the License.

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<rerunFailingTestsCount>3</rerunFailingTestsCount>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 72f56d1

Please sign in to comment.