You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2017/10/05 20:31:00 UTC
[jira] [Commented] (DRILL-5730) Fix Unit Test failures on JDK 8 And
Some JDK 7 versions
[ https://issues.apache.org/jira/browse/DRILL-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193592#comment-16193592 ]
Paul Rogers commented on DRILL-5730:
------------------------------------
Am experiencing issues with {{PhysicalOpUnitTestBase}} under Eclipse. Eclipse cannot run this test because it depends on the old JMockit version.
Here we can deprecate Eclipse as a supported IDE, or we can fix the unit tests. One solution is to build on work in DRILL-5842 to build a test time version of the fragment context rather than mocking it. This is, in fact, what DRILL-5842 is attempting to do for some new unit tests.
The opportunity is to retrofit old unit tests that depend on {{PhysicalOpUnitTestBase.mockFragmentContext()}} to use the new test-time version of the fragment context instead.
> Fix Unit Test failures on JDK 8 And Some JDK 7 versions
> -------------------------------------------------------
>
> Key: DRILL-5730
> URL: https://issues.apache.org/jira/browse/DRILL-5730
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Timothy Farkas
> Assignee: Timothy Farkas
>
> Tests fail on JDK 8 and oracle JDK 7 on my mac
> Failed tests:
> TestMetadataProvider.tables:153 expected:<OK> but was:<FAILED>
> TestMetadataProvider.tablesWithTableNameFilter:212 expected:<OK> but was:<FAILED>
> TestMetadataProvider.tablesWithSystemTableFilter:187 expected:<OK> but was:<FAILED>
> TestMetadataProvider.tablesWithTableFilter:176 expected:<OK> but was:<FAILED>
> Tests in error:
> TestInfoSchema.selectFromAllTables » UserRemote SYSTEM ERROR: URISyntaxExcepti...
> TestCustomUserAuthenticator.positiveUserAuth » UserRemote SYSTEM ERROR: URISyn...
> TestCustomUserAuthenticator.positiveUserAuthAfterNegativeUserAuth » UserRemote
> TestViewSupport.infoSchemaWithView:350->BaseTestQuery.testRunAndReturn:344 » Rpc
> TestParquetScan.testSuccessFile:58->BaseTestQuery.testRunAndReturn:344 » Rpc o...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)