Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): Support running connection tests with proxy set #346

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

m-horky
Copy link
Contributor

@m-horky m-horky commented Feb 20, 2025

When HTTP_PROXY environment variable is set, and is pointing at valid
proxy server, these two tests would fail because insights-client reports
different errors on network errors for proxy/non-proxy scenarios.

This code takes proxies into account, and asserts strings accordingly.


  • el9 (all of RHEL 9)
  • el8 (all of RHEL 8)

@m-horky m-horky requested a review from zpetrace February 20, 2025 16:10
@m-horky m-horky force-pushed the mhorky/integration-tests-with-proxy branch from 6ff2854 to ec0990c Compare February 20, 2025 16:20
When HTTP_PROXY environment variable is set, and is pointing at valid
proxy server, these two tests would fail because insights-client reports
different errors on network errors for proxy/non-proxy scenarios.

This code takes proxies into account, and asserts strings accordingly.
@m-horky m-horky force-pushed the mhorky/integration-tests-with-proxy branch from ec0990c to 6418cf7 Compare February 20, 2025 16:26
@m-horky m-horky changed the title fix(test): Support running connection tests any network fix(test): Support running connection tests with proxy set Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant