From 0b0acba0c9d3f20d24a6f130f6933ac266089377 Mon Sep 17 00:00:00 2001 From: Richard Case Date: Wed, 29 Mar 2023 13:49:12 +0100 Subject: [PATCH] test(e2e): update tests with v1.4.0 CAPI changes Signed-off-by: Richard Case --- test/e2e/capi_test.go | 4 ++-- test/e2e/gke.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/capi_test.go b/test/e2e/capi_test.go index 15c310b42..cfe9a9773 100644 --- a/test/e2e/capi_test.go +++ b/test/e2e/capi_test.go @@ -70,8 +70,8 @@ var _ = Describe("Running the Cluster API E2E tests", func() { }) Context("Should successfully remediate unhealthy machines with MachineHealthCheck", func() { - capi_e2e.MachineRemediationSpec(ctx, func() capi_e2e.MachineRemediationSpecInput { - return capi_e2e.MachineRemediationSpecInput{ + capi_e2e.KCPRemediationSpec(ctx, func() capi_e2e.KCPRemediationSpecInput { + return capi_e2e.KCPRemediationSpecInput{ E2EConfig: e2eConfig, ClusterctlConfigPath: clusterctlConfigPath, BootstrapClusterProxy: bootstrapClusterProxy, diff --git a/test/e2e/gke.go b/test/e2e/gke.go index 1eb3128ab..9cb9140b7 100644 --- a/test/e2e/gke.go +++ b/test/e2e/gke.go @@ -181,7 +181,7 @@ func GetManagedControlPlaneByCluster(ctx context.Context, input GetManagedContro opts := []client.ListOption{ client.InNamespace(input.Namespace), client.MatchingLabels{ - clusterv1.ClusterLabelName: input.ClusterName, + clusterv1.ClusterNameLabel: input.ClusterName, }, }