Enable grpc e2e tests
This commit is contained in:
parent
fa3642d01b
commit
2e3f128ed5
2 changed files with 4 additions and 8 deletions
|
@ -39,11 +39,9 @@ import (
|
||||||
var _ = framework.IngressNginxDescribe("Annotations - GRPC", func() {
|
var _ = framework.IngressNginxDescribe("Annotations - GRPC", func() {
|
||||||
f := framework.NewDefaultFramework("grpc")
|
f := framework.NewDefaultFramework("grpc")
|
||||||
|
|
||||||
BeforeEach(func() {
|
|
||||||
f.NewGRPCFortuneTellerDeployment()
|
|
||||||
})
|
|
||||||
|
|
||||||
It("should use grpc_pass in the configuration file", func() {
|
It("should use grpc_pass in the configuration file", func() {
|
||||||
|
f.NewGRPCFortuneTellerDeployment()
|
||||||
|
|
||||||
host := "grpc"
|
host := "grpc"
|
||||||
|
|
||||||
annotations := map[string]string{
|
annotations := map[string]string{
|
||||||
|
@ -67,8 +65,6 @@ var _ = framework.IngressNginxDescribe("Annotations - GRPC", func() {
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should return OK for service with backend protocol GRPC", func() {
|
It("should return OK for service with backend protocol GRPC", func() {
|
||||||
Skip("GRPC test temporarily disabled")
|
|
||||||
|
|
||||||
f.NewGRPCBinDeployment()
|
f.NewGRPCBinDeployment()
|
||||||
|
|
||||||
host := "echo"
|
host := "echo"
|
||||||
|
@ -127,8 +123,6 @@ var _ = framework.IngressNginxDescribe("Annotations - GRPC", func() {
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should return OK for service with backend protocol GRPCS", func() {
|
It("should return OK for service with backend protocol GRPCS", func() {
|
||||||
Skip("GRPC test temporarily disabled")
|
|
||||||
|
|
||||||
f.NewGRPCBinDeployment()
|
f.NewGRPCBinDeployment()
|
||||||
|
|
||||||
host := "echo"
|
host := "echo"
|
||||||
|
|
|
@ -219,10 +219,12 @@ func (f *Framework) NewGRPCBinDeployment() {
|
||||||
{
|
{
|
||||||
Name: "insecure",
|
Name: "insecure",
|
||||||
ContainerPort: 9000,
|
ContainerPort: 9000,
|
||||||
|
Protocol: corev1.ProtocolTCP,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "secure",
|
Name: "secure",
|
||||||
ContainerPort: 9001,
|
ContainerPort: 9001,
|
||||||
|
Protocol: corev1.ProtocolTCP,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ReadinessProbe: probe,
|
ReadinessProbe: probe,
|
||||||
|
|
Loading…
Reference in a new issue