mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #67612 from mgdevstack/master-commit-runtime-conforamnce
Promote non-table based container-runtime e2e test to Conformance
This commit is contained in:
commit
c00f45c533
1
test/conformance/testdata/conformance.txt
vendored
1
test/conformance/testdata/conformance.txt
vendored
@ -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"
|
||||
|
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user