You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2022/05/23 20:24:00 UTC

[jira] [Assigned] (IMPALA-11316) TestImpalaShell.test_http_socket_timeout fails on Python3 with different message

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

Joe McDonnell reassigned IMPALA-11316:
--------------------------------------

    Assignee: Joe McDonnell

> TestImpalaShell.test_http_socket_timeout fails on Python3 with different message
> --------------------------------------------------------------------------------
>
>                 Key: IMPALA-11316
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11316
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: Impala 4.2.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> TestImpalaShell.test_http_socket_timeout fails when running with a Python 3 impala-shell due to this difference in the error message:
> {noformat}
> >     assert result.stderr.splitlines()[0] == expected_err
> E     assert 'Caught excep...ning tries: 3' == 'Caught except...ning tries: 3'
> E       Skipping 59 identical leading characters in diff, use -v to show
> E       - e=<class 'BlockingIOError'> in OpenSession. Num remaining tries: 3
> E       ?           ^^   ^^^^^^
> E       + e=<class 'socket.error'> in OpenSession. Num remaining tries: 3
> E       ?           ^   ^^^^
> {noformat}
> It seems like this is just different on Python 3, and we could tolerate either error message.
> https://github.com/apache/impala/blob/master/tests/shell/test_shell_commandline.py#L1206-L1208



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org