Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.2.0
-
None
-
ghx-label-14
Description
When running the docker-based test method, TestImpalaShell.test_http_socket_timeout fails with this message:
shell/test_shell_commandline.py:1247: in test_http_socket_timeout assert actual_err == expected_err_py2 or actual_err == expected_err_py3 E assert ('Caught excep...ning tries: 3' == 'Caught except...ning tries: 3' E Skipping 36 identical trailing characters in diff, use -v to show E - Caught exception [Errno 99] Cannot assign requested address, type=<class 'OSError'> in E + Caught exception [Errno 115] Operation now in progress, type=<class 'socket.error'> in or 'Caught excep...ning tries: 3' == 'Caught except...ning tries: 3' E - Caught exception [Errno 99] Cannot assign requested address, type=<class 'OSError'> in OpenSession. Num remaining tries: 3 E ? ^^ ^ ^^^^^ --------------- - E + Caught exception [Errno 115] Operation now in progress, type=<class 'BlockingIOError'> in OpenSession. Num remaining tries: 3 E ? ^^^ ^^^^ +++ + ^^ +++++ +++++++++)
This is testing the case where the socket timeout is set to zero and expecting an error. The error in Docker is different from the one expected. All the other shell tests pass, so it doesn't seem to be indicating a real issue.
We might want to just add this as a possible error message.