Merge pull request #88923 from Jefftree/conformance-name

Fix Testname missing in conformance.yaml
This commit is contained in:
Kubernetes Prow Robot 2020-03-19 20:30:50 -07:00 committed by GitHub
commit 0fe5157009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 12 deletions

View File

@ -38,7 +38,7 @@
that the pre-stop is executed.
release: v1.9
file: test/e2e/common/lifecycle_hook.go
- testname: ""
- testname: Container Runtime, TerminationMessage, from log output of succeeding container
codename: '[k8s.io] Container Runtime blackbox test on terminated container should
report termination message [LinuxOnly] as empty when pod succeeds and TerminationMessagePolicy
FallbackToLogsOnError is set [NodeConformance] [Conformance]'
@ -48,7 +48,7 @@
mount files in Windows Containers.'
release: v1.15
file: test/e2e/common/runtime.go
- testname: ""
- testname: Container Runtime, TerminationMessage, from file of succeeding container
codename: '[k8s.io] Container Runtime blackbox test on terminated container should
report termination message [LinuxOnly] from file when pod succeeds and TerminationMessagePolicy
FallbackToLogsOnError is set [NodeConformance] [Conformance]'
@ -58,7 +58,8 @@
Cannot mount files in Windows Containers.'
release: v1.15
file: test/e2e/common/runtime.go
- testname: ""
- testname: Container Runtime, TerminationMessage, from container's log output of
failing container
codename: '[k8s.io] Container Runtime blackbox test on terminated container should
report termination message [LinuxOnly] from log output if TerminationMessagePolicy
FallbackToLogsOnError is set [NodeConformance] [Conformance]'
@ -68,7 +69,8 @@
Cannot mount files in Windows Containers.'
release: v1.15
file: test/e2e/common/runtime.go
- testname: ""
- testname: Container Runtime, TerminationMessagePath, non-root user and non-default
path
codename: '[k8s.io] Container Runtime blackbox test on terminated container should
report termination message [LinuxOnly] if TerminationMessagePath is set as non-root
user and at a non-default path [NodeConformance] [Conformance]'

View File

@ -329,7 +329,7 @@ func commentToConformanceData(comment string) *conformanceData {
descLines = append(descLines, line)
}
}
if cd.Release == "" && cd.TestName == "" {
if cd.TestName == "" {
return nil
}

View File

@ -147,9 +147,8 @@ func TestCommentToConformanceData(t *testing.T) {
desc: "No Release or Testname leads to nil",
input: "Description: foo",
}, {
desc: "Release but no Testname does not result in nil",
desc: "Release but no Testname should result in nil",
input: "Release: v1.1\nDescription: foo",
expected: &conformanceData{Release: "v1.1", Description: "foo"},
}, {
desc: "Testname but no Release does not result in nil",
input: "Testname: mytest\nDescription: foo",

View File

@ -189,7 +189,7 @@ while true; do sleep 1; done
/*
Release: v1.15
Name: Container Runtime, TerminationMessagePath, non-root user and non-default path
Testname: Container Runtime, TerminationMessagePath, non-root user and non-default path
Description: Create a pod with a container to run it as a non-root user with a custom TerminationMessagePath set. Pod redirects the output to the provided path successfully. When the container is terminated, the termination message MUST match the expected output logged in the provided custom path.
[LinuxOnly]: Tagged LinuxOnly due to use of 'uid' and unable to mount files in Windows Containers.
*/
@ -213,7 +213,7 @@ while true; do sleep 1; done
/*
Release: v1.15
Name: Container Runtime, TerminationMessage, from container's log output of failing container
Testname: Container Runtime, TerminationMessage, from container's log output of failing container
Description: Create a pod with an container. Container's output is recorded in log and container exits with an error. When container is terminated, termination message MUST match the expected output recorded from container's log.
[LinuxOnly]: Cannot mount files in Windows Containers.
*/
@ -230,7 +230,7 @@ while true; do sleep 1; done
/*
Release: v1.15
Name: Container Runtime, TerminationMessage, from log output of succeeding container
Testname: Container Runtime, TerminationMessage, from log output of succeeding container
Description: Create a pod with an container. Container's output is recorded in log and container exits successfully without an error. When container is terminated, terminationMessage MUST have no content as container succeed.
[LinuxOnly]: Cannot mount files in Windows Containers.
*/
@ -247,7 +247,7 @@ while true; do sleep 1; done
/*
Release: v1.15
Name: Container Runtime, TerminationMessage, from file of succeeding container
Testname: Container Runtime, TerminationMessage, from file of succeeding container
Description: Create a pod with an container. Container's output is recorded in a file and the container exits successfully without an error. When container is terminated, terminationMessage MUST match with the content from file.
[LinuxOnly]: Cannot mount files in Windows Containers.
*/