Skip to content

Commit

Permalink
Enhancing test_http_timeout to include CCT-506 - insights-client --te…
Browse files Browse the repository at this point in the history
…st-connection not catching ReadTimeoutError Exception
  • Loading branch information
zpetrace authored and Archana-PandeyM committed Jun 13, 2024
1 parent fa7792a commit 34ec1e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration-tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_http_timeout(insights_client):
output = insights_client.run("--test-connection", check=False)
assert output.returncode == 1
assert "timeout=0.01" in output.stdout
assert "Traceback" not in output.stdout


def test_noauth_proxy_connection(insights_client, test_config):
Expand Down

0 comments on commit 34ec1e0

Please sign in to comment.