Skip to content

Commit

Permalink
[FLINK-10681] Harden ElasticsearchSinkITCase against wrong JNA library
Browse files Browse the repository at this point in the history
Set the system property jna.nosys=true to avoid ElasticsearchSinkITCase test failures
due a wrong JNA version.
  • Loading branch information
tillrohrmann committed Nov 1, 2018
1 parent 28c02f6 commit a079915
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flink-connectors/flink-connector-elasticsearch6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,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>
Expand Down

0 comments on commit a079915

Please sign in to comment.