mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix multiple subpaths e2e: read/write in same container
This commit is contained in:
parent
9f5a799213
commit
613d8bb8ea
@ -291,7 +291,8 @@ func testSubPath(input *subPathTestInput) {
|
||||
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)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user