-
Notifications
You must be signed in to change notification settings - Fork 592
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
test(e2e): set appProtocol to HTTP for kuma tests #5507
Conversation
E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/7722704065 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5507 +/- ##
=======================================
- Coverage 69.8% 69.8% -0.1%
=======================================
Files 176 176
Lines 22873 22873
=======================================
- Hits 15981 15968 -13
- Misses 5950 5963 +13
Partials 942 942 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com>
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.
🏅
* set appProtocol to HTTP for kuma tests * Update test/e2e/helpers_test.go Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com> --------- Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com>
* set appProtocol to HTTP for kuma tests * Update test/e2e/helpers_test.go Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com> --------- Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com> (cherry picked from commit 72cb3b1)
* set appProtocol to HTTP for kuma tests * Update test/e2e/helpers_test.go Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com> --------- Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com> (cherry picked from commit 72cb3b1) Co-authored-by: Tao Yi <tao.yi@konghq.com>
What this PR does / why we need it:
As discussed internally, setting
appProtocol
toHTTP
will make kuma to load balance at request level. While by default kuma may only load balance at the connection level. When Kong gateway changed theupstream_keepalive_max_requests
from 1000 to 10000: Kong/kong#12223, the upstream connection is reused during all the test which only send about 3000 requests. So the requests constantly go to the same backend pod from one Kong gateway pod.I changed
appProtocol
tohttp
, the failure disappears in my local run.Which issue this PR fixes:
maybe fix #5498
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as
ready to review
:- [ ] theNo changelog requiredCHANGELOG.md
release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR