Joe McDonnell created IMPALA-11316:
--------------------------------------
Summary: 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
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)