From 90eed90e490e24c37807b8f7ce83a543a1a75947 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Mon, 27 Jul 2026 14:14:23 +0200 Subject: [PATCH] fix volume_test.go --- pkg/cluster/volumes_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cluster/volumes_test.go b/pkg/cluster/volumes_test.go index e9a815d4a..c9a339bfb 100644 --- a/pkg/cluster/volumes_test.go +++ b/pkg/cluster/volumes_test.go @@ -34,7 +34,7 @@ var testVol = testVolume{ size: 100, iops: 300, throughtput: 125, - volType: "gp3", + volType: "gp2", } func newFakeK8sPVCclient() (k8sutil.KubernetesClient, *fake.Clientset) { @@ -246,8 +246,8 @@ func TestGp2Gp3Migration(t *testing.T) { }, client, acidv1.Postgresql{Spec: acidv1.PostgresSpec{Volume: acidv1.Volume{VolumeType: "gp3"}}}, logger, eventRecorder) cluster.Spec.Volume.Size = "150Gi" - cluster.Spec.Volume.Iops = aws.Int64(6000) - cluster.Spec.Volume.Throughput = aws.Int64(275) + cluster.Spec.Volume.Iops = aws.Int32(6000) + cluster.Spec.Volume.Throughput = aws.Int32(275) // set metadata, so that labels will get correct values cluster.Name = clusterName