Skip to content

Commit cb0d001

Browse files
authored
Remove Azure exception in e2e tests for disk expansion (#8924)
Signed-off-by: Michael Montgomery <[email protected]>
1 parent d02f4ec commit cb0d001

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/e2e/es/volume_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ func TestVolumeMultiDataPath(t *testing.T) {
104104
},
105105
},
106106
},
107-
}},
107+
},
108+
},
108109
VolumeClaimTemplates: []corev1.PersistentVolumeClaim{
109110
{
110111
ObjectMeta: metav1.ObjectMeta{
@@ -214,9 +215,7 @@ func getResizeableStorageClass(k8sClient k8s.Client) (string, error) {
214215
return "", err
215216
}
216217
for _, sc := range scs.Items {
217-
// TODO https://github.com/Azure/AKS/issues/1477 azure-disk does not support resizing of "attached" disks, despite
218-
// advertising it allows volume expansion. Remove the azure special case once this issue is resolved.
219-
if sc.AllowVolumeExpansion != nil && *sc.AllowVolumeExpansion && sc.Provisioner != "kubernetes.io/azure-disk" {
218+
if sc.AllowVolumeExpansion != nil && *sc.AllowVolumeExpansion {
220219
return sc.Name, nil
221220
}
222221
}

0 commit comments

Comments
 (0)