You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: A Pod is created with a failing startup probe. The Pod MUST be killed and restarted incrementing restart count to 1, even if liveness would succeed.
63
63
*/
64
-
framework.ConformanceIt("should be restarted startup probe fails [NodeConformance]", func() {
64
+
ginkgo.It("should be restarted startup probe fails", func() {
Testname: Pod liveness probe fails after startup success
120
120
Description: A Pod is created with failing liveness probe and delayed startup probe that uses ‘exec’ command to cat /temp/health file. The Container is started by creating /tmp/startup after 10 seconds, triggering liveness probe to fail. The Pod MUST now be killed and restarted incrementing restart count to 1.
121
121
*/
122
-
framework.ConformanceIt("should be restarted by liveness probe after startup probe enables it [NodeConformance]", func() {
122
+
ginkgo.It("should be restarted by liveness probe after startup probe enables it", func() {
123
123
cmd:= []string{"/bin/sh", "-c", "sleep 10; echo ok >/tmp/startup; sleep 600"}
Testname: Pod readiness probe, delayed by startup probe
149
149
Description: A Pod is created with startup and readiness probes. The Container is started by creating /tmp/startup after 45 seconds, delaying the ready state by this amount of time. This is similar to the "Pod readiness probe, with initial delay" test.
150
150
*/
151
-
framework.ConformanceIt("should not be ready until startupProbe succeeds [NodeConformance]", func() {
151
+
ginkgo.It("should not be ready until startupProbe succeeds", func() {
152
152
cmd:= []string{"/bin/sh", "-c", "echo ok >/tmp/health; sleep 45; echo ok >/tmp/startup; sleep 600"}
0 commit comments