mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
fixes issue 56041
This commit is contained in:
parent
5337ff8009
commit
2bd0cd2fd4
@ -215,7 +215,6 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
Context("schedule a pod w/ RW PD(s) mounted to 1 or more containers, write to PD, verify content, delete pod, and repeat in rapid succession [Slow]", func() {
|
Context("schedule a pod w/ RW PD(s) mounted to 1 or more containers, write to PD, verify content, delete pod, and repeat in rapid succession [Slow]", func() {
|
||||||
var diskNames []string
|
|
||||||
type testT struct {
|
type testT struct {
|
||||||
numContainers int
|
numContainers int
|
||||||
numPDs int
|
numPDs int
|
||||||
@ -243,6 +242,7 @@ var _ = SIGDescribe("Pod Disks", func() {
|
|||||||
var host0Pod *v1.Pod
|
var host0Pod *v1.Pod
|
||||||
var err error
|
var err error
|
||||||
fileAndContentToVerify := make(map[string]string)
|
fileAndContentToVerify := make(map[string]string)
|
||||||
|
diskNames := make([]string, 0, numPDs)
|
||||||
|
|
||||||
By(fmt.Sprintf("creating %d PD(s)", numPDs))
|
By(fmt.Sprintf("creating %d PD(s)", numPDs))
|
||||||
for i := 0; i < numPDs; i++ {
|
for i := 0; i < numPDs; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user