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

Alexander Behm resolved IMPALA-6586.
------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.12.0

commit 5464c09786b6207507d8ebdbc1f0275f007c08e3
Author: Alex Behm <alex.b...@cloudera.com>
Date:   Mon Feb 26 12:02:01 2018 -0800

    IMPALA-6586: Fix bug in TestGetTablesTypeTable()
    
    The bug in FrontendTest.TestGetTablesTypeTable() was
    that it did not explicitly load views that the test
    assumed to be loaded already. The test needs to
    distinguish between views and tables and views need
    to be loaded for them to be discernable from tables.
    
    I was able to reproduce the issue localy by just
    running FrontendTest.TestGetTablesTypeTable() without
    any other test.
    
    Testing:
    - locally ran all tests in FrontendTest individually
      (with a fresh ImpaladTestCatalog)
    
    Change-Id: Idf0bddb2e29209adda5bda5ddc428f46f241c8c9
    Reviewed-on: http://gerrit.cloudera.org:8080/9453
    Reviewed-by: Alex Behm <alex.b...@cloudera.com>
    Tested-by: Impala Public Jenkins


> FrontendTest.TestGetTablesTypeTable failing on some builds
> ----------------------------------------------------------
>
>                 Key: IMPALA-6586
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6586
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.12.0
>            Reporter: Tim Armstrong
>            Assignee: Alexander Behm
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 2.12.0
>
>
> {noformat}
> org.apache.impala.service.FrontendTest.TestGetTablesTypeTable
> Failing for the past 1 build (Since Failed#45 )
> Took 9 ms.
> add description
> Error Message
> expected:<1> but was:<2>
> Stacktrace
> java.lang.AssertionError: expected:<1> but was:<2>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:834)
>       at org.junit.Assert.assertEquals(Assert.java:645)
>       at org.junit.Assert.assertEquals(Assert.java:631)
>       at 
> org.apache.impala.service.FrontendTest.TestGetTablesTypeTable(FrontendTest.java:117)
> {noformat}



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

Reply via email to