Skip to content

Resolve proxy_test issues with websocket-client 1.9.0 #274

@ArBridgeman

Description

@ArBridgeman

Summary

When performing dependency updates in #269 and #272, it was noted that the proxy_test.py tests failed when we upgraded to websocket-client==1.9.0. The reason for the failing tests needs to be investigated and, hopefully, resolved.

No other tests were failing. The error output looked like:

 FAILED test/integration/proxy_test.py::test_connect_through_proxy[NO_CERT] - pyexasol.exceptions.ExaConnectionFailedError: 
(
   message     =>  Could not connect to Exasol: [Errno 111] Connection refused
   dsn         =>  localhost:8563
   user        =>  SYS
   schema      =>  
   session_id  =>  
)
FAILED test/integration/proxy_test.py::test_connect_through_proxy_with_authentication[NO_CERT] - pyexasol.exceptions.ExaConnectionFailedError: 
(
   message     =>  Could not connect to Exasol: [Errno 111] Connection refused
   dsn         =>  localhost:8563
   user        =>  SYS
   schema      =>  
   session_id  =>  
)
FAILED test/integration/proxy_test.py::test_connect_through_proxy_without_resolving_host_names - pyexasol.exceptions.ExaConnectionFailedError: 
(
   message     =>  Could not connect to Exasol: [Errno 111] Connection refused
   dsn         =>  localhost:8563
   user        =>  SYS
   schema      =>  
   session_id  =>  
)

To Dos

  • Investigate what about websocket-client==1.9.0 leads to the proxy_test.py tests failing
  • Resolve the issue
  • Set the relevant line in the pyproject.toml to websocket-client = "^1.0.1"; thus, removing the down-pinning

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringCode improvement without behavior change
    No fields configured for Refactoring.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions