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
OCPBUGS-27210: Restore HTTP/2 tests in test/extended/router #28540
OCPBUGS-27210: Restore HTTP/2 tests in test/extended/router #28540
Conversation
This commit updates the makeHTTPClient helper in test/extended/router/http2.go, focusing on enhancing the HTTP/2 and HTTP/1.1 protocol handling. The primary change is the configuration of the http.Client to support HTTP/2 with a fallback to HTTP/1.1 during the TLS handshake through ALPN. This change ensures more accurate testing for scenarios involving different protocol expectations. This commit resurrects the two tests that were removed by openshift#28522.
@frobware: This pull request references Jira Issue OCPBUGS-27210, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@frobware: This pull request references Jira Issue OCPBUGS-27210, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: frobware The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks! |
a5cf058
into
openshift:master
@frobware: Jira Issue OCPBUGS-27210: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-27210 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@frobware: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Fix included in accepted release 4.16.0-0.nightly-2024-01-24-031529 |
Restoring HTTP/2 Tests with Enhanced Client Configuration
Context
This PR reintroduces the HTTP/2 tests previously removed by PR #28522. The key difference now is the modified client code and the updated test expectations, which enable these tests to pass successfully.
Changes
makeHTTPClient
function intest/extended/router/http2.go
has been refined to better handle HTTP/2 and HTTP/1.1 protocols during TLS handshake.http2-default-cert-edge
andhttp2-default-cert-reencrypt
tests, which were removed due to previous limitations.Impact
The reintroduction of these tests, with the enhanced client setup, significantly improves our ability to accurately test and assert the behaviour of HTTP/2 in the router, particularly under various certificate configurations.