Merge pull request #115856 from lanycrost/e2e-115780-grpc-probe-tests

Promote gRPC probe e2e test to Conformance
This commit is contained in:
Kubernetes Prow Robot 2023-03-09 01:06:03 -08:00 committed by GitHub
commit da87af638f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View File

@ -2185,6 +2185,14 @@
restart count MUST remain zero.
release: v1.9
file: test/e2e/common/node/container_probe.go
- testname: Pod liveness probe, using grpc call, success
codename: '[sig-node] Probing container should *not* be restarted with a GRPC liveness
probe [NodeConformance] [Conformance]'
description: A Pod is created with liveness probe on grpc service. Liveness probe
on this endpoint will not fail. When liveness probe does not fail then the restart
count MUST remain zero.
release: v1.23
file: test/e2e/common/node/container_probe.go
- testname: Pod liveness probe, using local file, no restart
codename: '[sig-node] Probing container should *not* be restarted with a exec "cat
/tmp/health" liveness probe [NodeConformance] [Conformance]'
@ -2211,6 +2219,14 @@
killed and restarted incrementing restart count to 1.
release: v1.9
file: test/e2e/common/node/container_probe.go
- testname: Pod liveness probe, using grpc call, failure
codename: '[sig-node] Probing container should be restarted with a GRPC liveness
probe [NodeConformance] [Conformance]'
description: A Pod is created with liveness probe on grpc service. Liveness probe
on this endpoint should fail because of wrong probe port. When liveness probe
does fail then the restart count should +1.
release: v1.23
file: test/e2e/common/node/container_probe.go
- testname: Pod liveness probe, using local file, restart
codename: '[sig-node] Probing container should be restarted with a exec "cat /tmp/health"
liveness probe [NodeConformance] [Conformance]'

View File

@ -520,7 +520,7 @@ var _ = SIGDescribe("Probing container", func() {
Testname: Pod liveness probe, using grpc call, success
Description: A Pod is created with liveness probe on grpc service. Liveness probe on this endpoint will not fail. When liveness probe does not fail then the restart count MUST remain zero.
*/
ginkgo.It("should *not* be restarted with a GRPC liveness probe [NodeConformance]", func(ctx context.Context) {
framework.ConformanceIt("should *not* be restarted with a GRPC liveness probe [NodeConformance]", func(ctx context.Context) {
livenessProbe := &v1.Probe{
ProbeHandler: v1.ProbeHandler{
GRPC: &v1.GRPCAction{
@ -543,7 +543,7 @@ var _ = SIGDescribe("Probing container", func() {
Description: A Pod is created with liveness probe on grpc service. Liveness probe on this endpoint should fail because of wrong probe port.
When liveness probe does fail then the restart count should +1.
*/
ginkgo.It("should be restarted with a GRPC liveness probe [NodeConformance]", func(ctx context.Context) {
framework.ConformanceIt("should be restarted with a GRPC liveness probe [NodeConformance]", func(ctx context.Context) {
livenessProbe := &v1.Probe{
ProbeHandler: v1.ProbeHandler{
GRPC: &v1.GRPCAction{