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

Zoram Thanga resolved IMPALA-6498.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.12.0
                   Impala 3.0

> test_query_profile_thrift_timestamps causes following tests to fail
> -------------------------------------------------------------------
>
>                 Key: IMPALA-6498
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6498
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.12.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Zoram Thanga
>            Priority: Major
>             Fix For: Impala 3.0, Impala 2.12.0
>
>
> test_query_profile_thrift_timestamps calls "self.client.close()". This is not 
> really a valid thing for a test to do, as "self.client" is opened in 
> setup_class and expected to remain valid for all of the tests in a suite 
> until teardown_class is called, and so any tests following it in the class 
> that rely on "self.client" will not work.
> This hasn't been a problem in builds yet as 
> test_query_profile_thrift_timestamps is marked "serial", there are no other 
> "serial" tests following it in the suite, and tests are normally run via 
> "tests/run-test.py", which runs the parallel and serial tests separately.
> I only hit this because I was running tests via "bin/impala-py.test" which, 
> without any args, runs all tests serially, but we should still fix it.



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

Reply via email to