-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Do not call GetIngressEndpoint() when --resolvabledomain is enabled #11318
Conversation
`GetIngressEndpoint()` is a function to get ingress endpoint for the spoof client. So we don't need to call it when `--resolvabledomain` is enabled. Especially when Ingresss service uses `ClusterIP`, it alwasy fails to get endpoint and test fails. This patch changes to call GetIngressEndpoint() only when resolvabledomain is false in websocket test.
Codecov Report
@@ Coverage Diff @@
## main #11318 +/- ##
==========================================
- Coverage 87.74% 87.72% -0.03%
==========================================
Files 191 191
Lines 9211 9211
==========================================
- Hits 8082 8080 -2
- Misses 876 878 +2
Partials 253 253
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes 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 |
…native#11318) `GetIngressEndpoint()` is a function to get ingress endpoint for the spoof client. So we don't need to call it when `--resolvabledomain` is enabled. Especially when Ingresss service uses `ClusterIP`, it alwasy fails to get endpoint and test fails. This patch changes to call GetIngressEndpoint() only when resolvabledomain is false in websocket test.
* Do not call GetIngressEndpoint() when --resolvabledomain is enabled (knative#11318) `GetIngressEndpoint()` is a function to get ingress endpoint for the spoof client. So we don't need to call it when `--resolvabledomain` is enabled. Especially when Ingresss service uses `ClusterIP`, it alwasy fails to get endpoint and test fails. This patch changes to call GetIngressEndpoint() only when resolvabledomain is false in websocket test. * Use TLS for websocket and gRPC tests (knative#11322) * Support websocket https * Use TLS for websocket and gRPC tests Current gRPC and Websocket does not use TLS, but still uses HTTP even when it runs with HTTPS mode. This patch fixes it. * Add ServerName to pseudo host with TLS. * Decrease the length of test name * Fix race issue * Add workaround only https * try dialer option * Without parallel * Use a single DialOption * Revert "Without parallel" This reverts commit 99455a6. * Revert "Revert "Without parallel"" This reverts commit 7105cbc. * Fix TestGRPCStreamingPingViaActivator * Do not run gRPC with parallel * Add TODO comment * Use net.SplitHostPort * make long ksvc name generic * Revert "make long ksvc name generic" This reverts commit 4119f08.
* Do not call GetIngressEndpoint() when --resolvabledomain is enabled (knative#11318) `GetIngressEndpoint()` is a function to get ingress endpoint for the spoof client. So we don't need to call it when `--resolvabledomain` is enabled. Especially when Ingresss service uses `ClusterIP`, it alwasy fails to get endpoint and test fails. This patch changes to call GetIngressEndpoint() only when resolvabledomain is false in websocket test. * Use TLS for websocket and gRPC tests (knative#11322) * Support websocket https * Use TLS for websocket and gRPC tests Current gRPC and Websocket does not use TLS, but still uses HTTP even when it runs with HTTPS mode. This patch fixes it. * Add ServerName to pseudo host with TLS. * Decrease the length of test name * Fix race issue * Add workaround only https * try dialer option * Without parallel * Use a single DialOption * Revert "Without parallel" This reverts commit 99455a6. * Revert "Revert "Without parallel"" This reverts commit 7105cbc. * Fix TestGRPCStreamingPingViaActivator * Do not run gRPC with parallel * Add TODO comment * Use net.SplitHostPort * make long ksvc name generic * Revert "make long ksvc name generic" This reverts commit 4119f08.
GetIngressEndpoint()
is a function to get ingress endpoint for thespoof client. So we don't need to call it when
--resolvabledomain
isenabled. Especially when Ingresss service uses
ClusterIP
, it alwasyfails to get endpoint and test fails.
This patch changes to call GetIngressEndpoint() only when
resolvabledomain is false in websocket test.