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

Joe McDonnell reassigned IMPALA-14103:
--------------------------------------

    Assignee: Joe McDonnell

> TestAdmissionControllerStress fails on Python 3 due to invalid except clause
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-14103
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14103
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> When using IMPALA_USE_PYTHON3_TESTS=true, 
> custom_cluster.test_admission_controller.TestAdmissionControllerStress fails 
> with an error:
> {noformat}
> custom_cluster/test_admission_controller.py:2832: in 
> test_admission_controller_with_configs
>     self.run_admission_test(vector)
> custom_cluster/test_admission_controller.py:2805: in run_admission_test
>     raise thread.error
> custom_cluster/test_admission_controller.py:2577: in run
>     self._end_query(client, query, query_handle)
> custom_cluster/test_admission_controller.py:2616: in _end_query
>     except (Exception, ImpalaHiveServer2Service) as e:
> E   TypeError: catching classes that do not inherit from BaseException is not 
> allowed{noformat}
> It's complaining about ImpalaHiveServer2Service, which is not an exception 
> type. It looks like we might be able to remove that.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to