diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index 4fd04cd1530..170f96d4ead 100755 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -134,6 +134,7 @@ test/e2e/common/projected.go: "should provide container's memory request" test/e2e/common/projected.go: "should provide node allocatable (cpu) as default cpu limit if the limit is not set" test/e2e/common/projected.go: "should provide node allocatable (memory) as default memory limit if the limit is not set" test/e2e/common/projected.go: "should project all components that make up the projection API" +test/e2e/common/runtime.go: "should run with the expected status" test/e2e/common/secrets.go: "should be consumable from pods in env vars" test/e2e/common/secrets.go: "should be consumable via the environment" test/e2e/common/secrets_volume.go: "should be consumable from pods in volume" diff --git a/test/e2e/common/runtime.go b/test/e2e/common/runtime.go index c9433f64eee..52663fa5704 100644 --- a/test/e2e/common/runtime.go +++ b/test/e2e/common/runtime.go @@ -37,7 +37,12 @@ var _ = framework.KubeDescribe("Container Runtime", func() { Describe("blackbox test", func() { Context("when starting a container that exits", func() { - It("should run with the expected status [NodeConformance]", func() { + /* + Release : v1.13 + Testname: Container Runtime, Restart Policy, Pod Phases + Description: If the restart policy is set to ‘Always’, Pod MUST be restarted when terminated, If restart policy is ‘OnFailure’, Pod MUST be started only if it is terminated with non-zero exit code. If the restart policy is ‘Never’, Pod MUST never be restarted. All these three test cases MUST verify the restart counts accordingly. + */ + framework.ConformanceIt("should run with the expected status [NodeConformance]", func() { restartCountVolumeName := "restart-count" restartCountVolumePath := "/restart-count" testContainer := v1.Container{