Repository: flink
Updated Branches:
  refs/heads/master c57f07b57 -> 72f56d1fb


[FLINK-5772] [elasticsearch] Allow Elasticsearch 1.x tests to rerun on 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.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/72f56d1f
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/72f56d1f
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/72f56d1f

Branch: refs/heads/master
Commit: 72f56d1fb0a7acf199f5d865cb51d7fa33bbb824
Parents: c57f07b
Author: Tzu-Li (Gordon) Tai <[email protected]>
Authored: Fri Feb 24 18:39:46 2017 +0800
Committer: Tzu-Li (Gordon) Tai <[email protected]>
Committed: Mon Feb 27 18:32:23 2017 +0800

----------------------------------------------------------------------
 flink-connectors/flink-connector-elasticsearch/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/72f56d1f/flink-connectors/flink-connector-elasticsearch/pom.xml
----------------------------------------------------------------------
diff --git a/flink-connectors/flink-connector-elasticsearch/pom.xml 
b/flink-connectors/flink-connector-elasticsearch/pom.xml
index 14f28d0..eebdb4b 100644
--- a/flink-connectors/flink-connector-elasticsearch/pom.xml
+++ b/flink-connectors/flink-connector-elasticsearch/pom.xml
@@ -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>

Reply via email to