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

tests(helpers): reorganize grpc target service #14045

Open
wants to merge 4 commits into
base: fix/grpc-web-and-gateway-trailers
Choose a base branch
from

Conversation

gszr
Copy link
Member

@gszr gszr commented Dec 23, 2024

Summary

This PR accomplishes a few things related to gRPC testing:

  • Reorganize the mock targetservice service we use in some gRPC tests
  • Add a Makefile and simplify Lua helpers to build the code
  • Add a new EchoHeaders grpc RPC, to be used in tests that need to verify headers sent by Kong to the gRPC upstream (similar to httpbin's /anything)
  • Use the new RPC in :authority pseudo-header tests

This needs to be "rebase and merged" after #14042.

@gszr gszr requested a review from brentos December 23, 2024 16:50
@github-actions github-actions bot added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Dec 23, 2024
gszr added 3 commits December 23, 2024 13:53
Add a makefile to grpc target service and simplify test helper.
This will improve testability and reliability of some gRPC tests.
Replace template-based mock grpc service with actual gRPC service to
test for `:authority` headers.
@gszr gszr force-pushed the refactor/add-echo-headrs-rpc branch from 6aa8f6c to 2b3dcff Compare December 23, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant