This commit is contained in:
Wojciech Tyczynski
2015-09-08 09:34:10 +02:00
parent bb3e20e361
commit b85d0557b4
9 changed files with 77 additions and 238 deletions

View File

@@ -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,
)