[ https://issues.apache.org/jira/browse/IMPALA-11316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe McDonnell resolved IMPALA-11316. ------------------------------------ Fix Version/s: Impala 4.2.0 Resolution: Fixed > 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 > Fix For: Impala 4.2.0 > > > 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)