Skip to content

Commit

Permalink
🧪 test: trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Anddd7 committed May 6, 2024
1 parent fbf77e3 commit ee204a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/annotations/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,15 @@ var _ = framework.DescribeAnnotation("backend-protocol - GRPC", func() {
f.NewGRPCBinDelayDeployment()

proxyTimeout := "10"
ingressName := "grpcbin-delay"

annotations := make(map[string]string)
annotations["nginx.ingress.kubernetes.io/backend-protocol"] = "GRPC"
annotations["nginx.ingress.kubernetes.io/proxy-connect-timeout"] = proxyTimeout
annotations["nginx.ingress.kubernetes.io/proxy-send-timeout"] = proxyTimeout
annotations["nginx.ingress.kubernetes.io/proxy-read-timeout"] = proxyTimeout

ing := framework.NewSingleIngress(host, "/", host, f.Namespace, "grpcbin-delay", 50051, annotations)
ing := framework.NewSingleIngress(host, "/", host, f.Namespace, ingressName, 50051, annotations)

f.EnsureIngress(ing)

Expand Down Expand Up @@ -309,14 +310,15 @@ var _ = framework.DescribeAnnotation("backend-protocol - GRPC", func() {
f.NewGRPCBinDelayDeployment()

proxyTimeout := "10"
ingressName := "grpcbin-delay"

annotations := make(map[string]string)
annotations["nginx.ingress.kubernetes.io/backend-protocol"] = "GRPC"
annotations["nginx.ingress.kubernetes.io/proxy-connect-timeout"] = proxyTimeout
annotations["nginx.ingress.kubernetes.io/proxy-send-timeout"] = proxyTimeout
annotations["nginx.ingress.kubernetes.io/proxy-read-timeout"] = proxyTimeout

ing := framework.NewSingleIngress(host, "/", host, f.Namespace, "grpcbin-delay", 50051, annotations)
ing := framework.NewSingleIngress(host, "/", host, f.Namespace, ingressName, 50051, annotations)

f.EnsureIngress(ing)

Expand Down

0 comments on commit ee204a7

Please sign in to comment.