incubator-hcatalog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Crawford (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HCATALOG-508) Tests within HCatLoader fail when run in JDK 1.7
Date Mon, 24 Sep 2012 17:55:07 GMT

    [ https://issues.apache.org/jira/browse/HCATALOG-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461943#comment-13461943
] 

Travis Crawford commented on HCATALOG-508:
------------------------------------------

Bonus points for switching to HCatBaseTest and junit 4 style tests!
                
> Tests within HCatLoader fail when run in JDK 1.7
> ------------------------------------------------
>
>                 Key: HCATALOG-508
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-508
>             Project: HCatalog
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.5
>         Environment: JDK 1.7 and RHEL 6
>            Reporter: Viraj Bhat
>            Assignee: Viraj Bhat
>             Fix For: 0.5
>
>
> TestHCatLoader testGetInputBytes() test fails when running on JDK 1.7.
> The order of tests executed in JDK 1.7 is as follows:
> testSchemaLoadBasic
> testReadDataBasic
> testConvertBooleanToInt
> testSchemaLoadComplex
> testReadPartitionedBasic
> testProjectionsBasic
> testGetInputBytes
> The order of tests executed in JDK 1.6 is as follows:
> testSchemaLoadBasic
> testReadDataBasic
> testSchemaLoadComplex
> testReadPartitionedBasic
> testProjectionsBasic
> testGetInputBytes
> testConvertBooleanToInt
> The problem is that when : "testGetInputBytes" runs in the end, the tables are already
deleted.
> Simple fix, is to set the "guardTestCount" to 7 and also correct the if else loop in
"guardedTearDownAfterClass"
> Regards
> Viraj

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message