diff --git a/pkg/cluster/volumes_test.go b/pkg/cluster/volumes_test.go index 3c523c994..6a33bacf7 100644 --- a/pkg/cluster/volumes_test.go +++ b/pkg/cluster/volumes_test.go @@ -361,14 +361,7 @@ func TestManualGp2Gp3Support(t *testing.T) { cluster.Namespace = namespace filterLabels := cluster.labelsSet(false) - testVolumes := []testVolume{ - { - size: 150, - }, - { - size: 150, - }, - } + testVolumes := []testVolume{testVol, testVol} initTestVolumesAndPods(cluster.KubeClient, namespace, clusterName, filterLabels, testVolumes) @@ -420,7 +413,14 @@ func TestDontTouchType(t *testing.T) { cluster.Namespace = namespace filterLabels := cluster.labelsSet(false) - testVolumes := []testVolume{testVol, testVol} + testVolumes := []testVolume{ + { + size: 150, + }, + { + size: 150, + }, + } initTestVolumesAndPods(cluster.KubeClient, namespace, clusterName, filterLabels, testVolumes)