Skip to content

Test: Remove gRPC Fortune Teller. #12930

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
</table>


Directory | Purpose
------------ | -------------
custom-error-pages | Example of Custom error pages for the Ingress-Nginx Controller
e2e | Image to run e2e tests
fastcgi-helloserver | FastCGI application for e2e tests
grpc-fortune-teller | grpc server application for the nginx-ingress grpc example
httpbun | A simple HTTP Request & Response Service for e2e tests
httpbin | [Removed] we are no longer maintaining the httpbin image due to project being unmaintained
nginx | NGINX base image using [alpine linux](https://www.alpinelinux.org)
cfssl | Image to run cfssl commands
Directory | Purpose
---------------------- | ------------------------------------------------------------------
cfssl | Image to run cfssl commands
custom-error-pages | Example of Custom error pages for the Ingress-Nginx Controller
fastcgi-helloserver | FastCGI application for e2e tests
go-grpc-greeter-server | grpc server application for the nginx-ingress grpc example
httpbun | A simple HTTP Request & Response Service for e2e tests
nginx | NGINX base image using [alpine linux](https://www.alpinelinux.org)
test-runner | Image to run e2e tests
23 changes: 0 additions & 23 deletions test/e2e/annotations/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,6 @@ const (
var _ = framework.DescribeAnnotation("backend-protocol - GRPC", func() {
f := framework.NewDefaultFramework("grpc", framework.WithHTTPBunEnabled())

ginkgo.It("should use grpc_pass in the configuration file", func() {
f.NewGRPCFortuneTellerDeployment()

annotations := map[string]string{
"nginx.ingress.kubernetes.io/backend-protocol": "GRPC",
}

ing := framework.NewSingleIngress(host, "/", host, f.Namespace, "fortune-teller", 50051, annotations)
f.EnsureIngress(ing)

f.WaitForNginxServer(host,
func(server string) bool {
return strings.Contains(server, fmt.Sprintf("server_name %v", host))
})

f.WaitForNginxServer(host,
func(server string) bool {
return strings.Contains(server, "grpc_pass") &&
strings.Contains(server, "grpc_set_header") &&
!strings.Contains(server, "proxy_pass")
})
})

ginkgo.It("should return OK for service with backend protocol GRPC", func() {
f.NewGRPCBinDeployment()

Expand Down
105 changes: 0 additions & 105 deletions test/e2e/framework/grpc_fortune_teller.go

This file was deleted.

Loading