shahar1 opened a new pull request, #76077:
URL: https://github.com/apache/airflow/pull/76077

   `test_server_connection_refused` connected to `http://localhost` and 
expected the connection to be refused. It fails whenever something listens on 
port 80 (a local web server answers with 404), and on WSL2 with mirrored 
networking, where a closed loopback port times out instead of refusing. The 
test now raises the `httpx.ConnectError` from a mock transport, so it still 
checks the conversion to `AirflowCtlConnectionException` without touching the 
network.
   
   Checked locally: `uv run --project airflow-ctl pytest airflow-ctl/tests` — 
664 passed.
   
   Please add the `backport-to-airflow-ctl/v0-1-test` label: the same test 
fails the same way on that branch.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5.5)
   
   Generated-by: Claude Code (Opus 5.5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to