Skip to content

Commit f5babef

Browse files
authored
Test: Remove gRPC Fortune Teller. (#12928)
1 parent e86c0b7 commit f5babef

File tree

3 files changed

+9
-138
lines changed

3 files changed

+9
-138
lines changed

images/README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
</table>
1212

1313

14-
Directory | Purpose
15-
------------ | -------------
16-
custom-error-pages | Example of Custom error pages for the Ingress-Nginx Controller
17-
e2e | Image to run e2e tests
18-
fastcgi-helloserver | FastCGI application for e2e tests
19-
grpc-fortune-teller | grpc server application for the nginx-ingress grpc example
20-
httpbun | A simple HTTP Request & Response Service for e2e tests
21-
httpbin | [Removed] we are no longer maintaining the httpbin image due to project being unmaintained
22-
nginx | NGINX base image using [alpine linux](https://www.alpinelinux.org)
23-
cfssl | Image to run cfssl commands
14+
Directory | Purpose
15+
---------------------- | ------------------------------------------------------------------
16+
cfssl | Image to run cfssl commands
17+
custom-error-pages | Example of Custom error pages for the Ingress-Nginx Controller
18+
fastcgi-helloserver | FastCGI application for e2e tests
19+
go-grpc-greeter-server | grpc server application for the nginx-ingress grpc example
20+
httpbun | A simple HTTP Request & Response Service for e2e tests
21+
nginx | NGINX base image using [alpine linux](https://www.alpinelinux.org)
22+
test-runner | Image to run e2e tests

test/e2e/annotations/grpc.go

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,6 @@ const (
4545
var _ = framework.DescribeAnnotation("backend-protocol - GRPC", func() {
4646
f := framework.NewDefaultFramework("grpc", framework.WithHTTPBunEnabled())
4747

48-
ginkgo.It("should use grpc_pass in the configuration file", func() {
49-
f.NewGRPCFortuneTellerDeployment()
50-
51-
annotations := map[string]string{
52-
"nginx.ingress.kubernetes.io/backend-protocol": "GRPC",
53-
}
54-
55-
ing := framework.NewSingleIngress(host, "/", host, f.Namespace, "fortune-teller", 50051, annotations)
56-
f.EnsureIngress(ing)
57-
58-
f.WaitForNginxServer(host,
59-
func(server string) bool {
60-
return strings.Contains(server, fmt.Sprintf("server_name %v", host))
61-
})
62-
63-
f.WaitForNginxServer(host,
64-
func(server string) bool {
65-
return strings.Contains(server, "grpc_pass") &&
66-
strings.Contains(server, "grpc_set_header") &&
67-
!strings.Contains(server, "proxy_pass")
68-
})
69-
})
70-
7148
ginkgo.It("should return OK for service with backend protocol GRPC", func() {
7249
f.NewGRPCBinDeployment()
7350

test/e2e/framework/grpc_fortune_teller.go

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)