Unverified Commit 9384e93d authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73749 from wongma7/subpath-init-write-multiple

Fix multiple subpaths e2e: read/write in same container
parents dc1244c6 613d8bb8
...@@ -291,7 +291,8 @@ func testSubPath(input *subPathTestInput) { ...@@ -291,7 +291,8 @@ func testSubPath(input *subPathTestInput) {
SubPath: "subpath2", SubPath: "subpath2",
}) })
addMultipleWrites(&input.pod.Spec.InitContainers[1], filepath1, filepath2) // Write the files from container 0 and instantly read them back
addMultipleWrites(&input.pod.Spec.Containers[0], filepath1, filepath2)
testMultipleReads(input.f, input.pod, 0, filepath1, filepath2) testMultipleReads(input.f, input.pod, 0, filepath1, filepath2)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment