Promote container runtime e2e verifying non-default termination message path
This commit is contained in:
@@ -174,8 +174,13 @@ while true; do sleep 1; done
|
||||
matchTerminationMessage(container, v1.PodSucceeded, Equal("DONE"))
|
||||
})
|
||||
|
||||
It("should report termination message [LinuxOnly] if TerminationMessagePath is set as non-root user and at a non-default path [NodeConformance]", func() {
|
||||
// Cannot mount files in Windows Containers.
|
||||
/*
|
||||
Release: v1.15
|
||||
Name: 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.
|
||||
*/
|
||||
framework.ConformanceIt("should report termination message [LinuxOnly] if TerminationMessagePath is set as non-root user and at a non-default path [NodeConformance]", func() {
|
||||
container := v1.Container{
|
||||
Image: framework.BusyBoxImage,
|
||||
Command: []string{"/bin/sh", "-c"},
|
||||
|
||||
Reference in New Issue
Block a user