[
https://issues.apache.org/jira/browse/SQOOP-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493301#comment-14493301
]
Sqoop QA bot commented on SQOOP-2303:
-------------------------------------
Testing file
[SQOOP-2303-2.patch|https://issues.apache.org/jira/secure/attachment/12725077/SQOOP-2303-2.patch]
against branch sqoop2 took 1:00:50.991368.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All fast unit tests passed (executed 675 tests)
{color:green}SUCCESS:{color} All slow unit tests passed (executed 1 tests)
{color:green}SUCCESS:{color} All fast integration tests passed (executed 47
tests)
{color:green}SUCCESS:{color} All slow integration tests passed (executed 20
tests)
Console output is available
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1278/console].
This message is automatically generated.
> EmptyTypeList when returned from DatabaseProvider class results in NPE in
> TestNG
> --------------------------------------------------------------------------------
>
> Key: SQOOP-2303
> URL: https://issues.apache.org/jira/browse/SQOOP-2303
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-test
> Affects Versions: 1.99.5
> Reporter: Syed A. Hashmi
> Assignee: Syed A. Hashmi
> Fix For: 1.99.7
>
> Attachments: SQOOP-2303-1.patch, SQOOP-2303-2.patch
>
>
> Right now by default DatabaseProvider class returns EmptyTypeList. But
> surprisingly, TestNG is unable to handle empty list and throws NPE in tests
> which run for DB providers which dont have their own TypesLists.
> We should add a DefaultTypesList which returns a minimal type (INT) and some
> tests on it and return it by default instead of EmptyTypeList.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)