Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.1.0
-
None
-
ghx-label-12
Description
TestImpalaShell.test_http_socket_timeout fails when running with a Python 3 impala-shell due to this difference in the error message:
> 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 ? ^ ^^^^
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
Attachments
Issue Links
- is related to
-
IMPALA-11308 Shell tests fail when run with a python3 install of impala-shell
- Closed