mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Revert #13052
This commit is contained in:
@@ -67,7 +67,7 @@ var _ = Describe("hostPath", func() {
|
||||
fmt.Sprintf("--fs_type=%v", volumePath),
|
||||
fmt.Sprintf("--file_mode=%v", volumePath),
|
||||
}
|
||||
testContainerOutput("hostPath mode", c, pod, 0, []string{
|
||||
testContainerOutputInNamespace("hostPath mode", c, pod, 0, []string{
|
||||
"mode of file \"/test-volume\": dtrwxrwxrwx", // we expect the sticky bit (mode flag t) to be set for the dir
|
||||
},
|
||||
namespace.Name)
|
||||
@@ -93,7 +93,7 @@ var _ = Describe("hostPath", func() {
|
||||
}
|
||||
//Read the content of the file with the second container to
|
||||
//verify volumes being shared properly among continers within the pod.
|
||||
testContainerOutput("hostPath r/w", c, pod, 1, []string{
|
||||
testContainerOutputInNamespace("hostPath r/w", c, pod, 1, []string{
|
||||
"content of file \"/test-volume/test-file\": mount-tester new file",
|
||||
}, namespace.Name,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user