From 94e386cdfbd162262ea1d5a35a0dacff07db69fa Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Mon, 23 Dec 2024 17:43:54 +0100 Subject: [PATCH] test(e2e): follow PluginConfigurationList change Reflect the switch from PluginConfigurationList to []PluginConfiguration in the e2e. Signed-off-by: Francesco Canovai --- test/e2e/internal/tests/backup/fixtures.go | 10 +++++----- test/e2e/internal/tests/replicacluster/fixtures.go | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/e2e/internal/tests/backup/fixtures.go b/test/e2e/internal/tests/backup/fixtures.go index 1f3b870..bb12cf5 100644 --- a/test/e2e/internal/tests/backup/fixtures.go +++ b/test/e2e/internal/tests/backup/fixtures.go @@ -285,7 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Spec: cloudnativepgv1.ClusterSpec{ Instances: 2, ImagePullPolicy: corev1.PullAlways, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -325,7 +325,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -431,7 +431,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster { "log_min_messages": "DEBUG4", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -528,7 +528,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -624,7 +624,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ diff --git a/test/e2e/internal/tests/replicacluster/fixtures.go b/test/e2e/internal/tests/replicacluster/fixtures.go index 50d3624..79e386d 100644 --- a/test/e2e/internal/tests/replicacluster/fixtures.go +++ b/test/e2e/internal/tests/replicacluster/fixtures.go @@ -112,7 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster { Spec: cloudnativepgv1.ClusterSpec{ Instances: 2, ImagePullPolicy: corev1.PullAlways, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{ @@ -223,7 +223,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster { Source: "source", }, }, - Plugins: cloudnativepgv1.PluginConfigurationList{ + Plugins: []cloudnativepgv1.PluginConfiguration{ { Name: "barman-cloud.cloudnative-pg.io", Parameters: map[string]string{