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
conformance: add support for GRPCRoute #5776
base: main
Are you sure you want to change the base?
Conversation
most of these tests have failed. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5776 +/- ##
======================================
Coverage ? 73.6%
======================================
Files ? 193
Lines ? 18814
Branches ? 0
======================================
Hits ? 13848
Misses ? 4005
Partials ? 961 ☔ View full report in Codecov by Sentry. |
91ff3ed
to
a04d32a
Compare
9d514ca
to
91d2c60
Compare
3257481
to
fa23b77
Compare
fa23b77
to
7bc9b8e
Compare
Blocked by #5918 |
7bc9b8e
to
502847c
Compare
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
ed43c24
to
1c6a1cb
Compare
For
|
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@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.
Almost LGTM. some minor comments
@@ -82,6 +82,10 @@ func TestMain(m *testing.M) { | |||
kongBuilder = kongBuilder.WithProxyEnvVar("router_flavor", string(dpconf.RouterFlavorExpressions)) | |||
} | |||
|
|||
// The test cases for GRPCRoute in the current GatewayAPI all use the h2c protocol. | |||
// In order to pass conformance tests, the proxy must listen http2 and http on the same port. | |||
kongBuilder.WithProxyEnvVar("PROXY_LISTEN", `0.0.0.0:8000 http2\, 0.0.0.0:8443 http2 ssl`) |
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.
Is there any reason to add a \
to escape the ,
?
@@ -24,7 +24,8 @@ const ( | |||
// GRPCBinImage is the container image name we use for deploying the "grpcbin" GRPC testing tool. | |||
// See: https://github.com/Kong/grpcbin | |||
GRPCBinImage = "kong/grpcbin:latest" | |||
GRPCBinPort = 9001 | |||
GRPCBinPort = 9000 | |||
GRPCSBinPort = 9001 |
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.
This GRPCSBinPort
seems not be refefenced anywhere now. Also, in test/integration/isolated/ingress_test.go
, the test/consts
package is imported but it did not use the constants for defining ports for grpc services.
What this PR does / why we need it:
Which issue this PR fixes:
fixes: #5705
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as
ready to review
:CHANGELOG.md
release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR