You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2018/03/09 23:43:00 UTC

[jira] [Resolved] (CRUNCH-666) HCatSourceITSpec.testBasic fails

     [ https://issues.apache.org/jira/browse/CRUNCH-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Wills resolved CRUNCH-666.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Pushed to master-- thanks for the test fix, [~clement@unportant.info]!

> HCatSourceITSpec.testBasic fails
> --------------------------------
>
>                 Key: CRUNCH-666
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-666
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Clément MATHIEU
>            Assignee: Josh Wills
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: 0001-CRUNCH-666-Fix-HCatSourceITSpec.testBasic.patch
>
>
> Building master on my workstation fails with the following message:
> {code:java}
> ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 39.166 sec <<< FAILURE! - in org.apache.crunch.io.hcatalog.HCatTestSuiteIT
> testBasic(org.apache.crunch.io.hcatalog.HCatSourceITSpec)  Time elapsed: 0.467 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<[[17,josh], [29,indiana]]> but was:<[]>
>     at org.junit.Assert.fail(Assert.java:93)
>     at org.junit.Assert.failNotEquals(Assert.java:647)
>     at org.junit.Assert.assertEquals(Assert.java:128)
>     at org.junit.Assert.assertEquals(Assert.java:147)
>     at org.apache.crunch.io.hcatalog.HCatSourceITSpec.testBasic(HCatSourceITSpec.java:108)
> {code}
> By comparing this test to the other ones, it seems that {{tableRootLocation}} argument is missing. I will provide a patch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)