Merge pull request #96694 from andrewsykim/node-conformance-exec-probe-timeout

e2e/node: add exec probe timeout tests to NodeConformance
This commit is contained in:
Kubernetes Prow Robot 2020-12-09 07:54:49 -08:00 committed by GitHub
commit 534531fc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
Testname: Pod liveness probe, docker exec, restart
Description: A Pod is created with liveness probe with a Exec action on the Pod. If the liveness probe call does not return within the timeout specified, liveness probe MUST restart the Pod.
*/
ginkgo.It("should be restarted with a docker exec liveness probe with timeout ", func() {
ginkgo.It("should be restarted with an exec liveness probe with timeout [NodeConformance]", func() {
cmd := []string{"/bin/sh", "-c", "sleep 600"}
livenessProbe := &v1.Probe{
Handler: execHandler([]string{"/bin/sh", "-c", "sleep 10"}),
@ -230,7 +230,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
Testname: Pod readiness probe, docker exec, not ready
Description: A Pod is created with readiness probe with a Exec action on the Pod. If the readiness probe call does not return within the timeout specified, readiness probe MUST not be Ready.
*/
ginkgo.It("should not be ready with a docker exec readiness probe timeout ", func() {
ginkgo.It("should not be ready with an exec readiness probe timeout [NodeConformance]", func() {
cmd := []string{"/bin/sh", "-c", "sleep 600"}
readinessProbe := &v1.Probe{
Handler: execHandler([]string{"/bin/sh", "-c", "sleep 10"}),