You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2018/11/01 15:36:33 UTC
[flink] branch release-1.6 updated: [FLINK-10681] Harden
ElasticsearchSinkITCase against wrong JNA library
This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch release-1.6
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.6 by this push:
new 74acd59 [FLINK-10681] Harden ElasticsearchSinkITCase against wrong JNA library
74acd59 is described below
commit 74acd5973f48a25a4fdab5d50bfd94cbc5484418
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Thu Oct 25 17:43:09 2018 +0200
[FLINK-10681] Harden ElasticsearchSinkITCase against wrong JNA library
Set the system property jna.nosys=true to avoid ElasticsearchSinkITCase test failures
due a wrong JNA version.
---
flink-connectors/flink-connector-elasticsearch6/pom.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/flink-connectors/flink-connector-elasticsearch6/pom.xml b/flink-connectors/flink-connector-elasticsearch6/pom.xml
index 833a3cc..4af64cb 100644
--- a/flink-connectors/flink-connector-elasticsearch6/pom.xml
+++ b/flink-connectors/flink-connector-elasticsearch6/pom.xml
@@ -169,6 +169,9 @@ under the License.
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.2</version>
<configuration>
+ <systemPropertyVariables>
+ <jna.nosys>true</jna.nosys>
+ </systemPropertyVariables>
<classpathDependencyExcludes>
<classpathDependencyExclude>org.apache.logging.log4j:log4j-to-slf4j</classpathDependencyExclude>
</classpathDependencyExcludes>