[
https://issues.apache.org/jira/browse/DRILL-6887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713889#comment-16713889
]
ASF GitHub Bot commented on DRILL-6887:
---------------------------------------
amansinha100 closed pull request #1566: DRILL-6887: Fix
FunctionInitializerTest.init() failure
URL: https://github.com/apache/drill/pull/1566
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/exec/java-exec/src/test/resources/drill-udf/pom.xml
b/exec/java-exec/src/test/resources/drill-udf/pom.xml
index 0e25cba19f1..0a68198b9c6 100644
--- a/exec/java-exec/src/test/resources/drill-udf/pom.xml
+++ b/exec/java-exec/src/test/resources/drill-udf/pom.xml
@@ -28,6 +28,8 @@
<version>1.0</version>
<properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
<jar.finalName>${project.name}</jar.finalName>
<custom.buildDirectory>${project.basedir}/target</custom.buildDirectory>
<drill.version>1.13.0</drill.version>
@@ -58,6 +60,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.0</version>
<configuration>
<includes>
<include>${include.files}</include>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Fix FunctionInitializerTest.init() failure
> ------------------------------------------
>
> Key: DRILL-6887
> URL: https://issues.apache.org/jira/browse/DRILL-6887
> Project: Apache Drill
> Issue Type: Bug
> Components: Tools, Build & Test
> Affects Versions: 1.14.0
> Reporter: Vitalii Diravka
> Assignee: Vitalii Diravka
> Priority: Blocker
> Labels: ready-to-commit
> Fix For: 1.15.0
>
>
> DRILL-6751 introduces unit test failures for jdk9 and above.
> {code:java}
> [ERROR] Failures:
> [ERROR] FunctionInitializerTest.init:64 Build should be successful.
> expected:<0> but was:<1>
> {code}
> [https://circleci.com/gh/vdiravka/drill/154]
> The root cause isĀ
> [drill-udf.pom|https://github.com/apache/drill/blob/master/exec/java-exec/src/test/resources/drill-udf/pom.xml]
> doesn't inherit drill root pom file. Therefore all properties are individual
> for this pom file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)