Skip to content

Commit

Permalink
test(e2e): update tests with v1.4.0 CAPI changes
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Case <[email protected]>
  • Loading branch information
richardcase committed Mar 29, 2023
1 parent 175dc7b commit 0b0acba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/capi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gke.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}

Expand Down

0 comments on commit 0b0acba

Please sign in to comment.