Skip to content

Commit c245174

Browse files
committed
Add WaitForMachinePoolToBeUpgraded to Self-hosted test
1 parent 646933b commit c245174

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

test/e2e/self_hosted.go

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -307,18 +307,19 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
307307
// Cluster is using ClusterClass, upgrade via topology.
308308
By("Upgrading the Cluster topology")
309309
framework.UpgradeClusterTopologyAndWaitForUpgrade(ctx, framework.UpgradeClusterTopologyAndWaitForUpgradeInput{
310-
ClusterProxy: selfHostedClusterProxy,
311-
Cluster: clusterResources.Cluster,
312-
ControlPlane: clusterResources.ControlPlane,
313-
EtcdImageTag: input.E2EConfig.GetVariable(EtcdVersionUpgradeTo),
314-
DNSImageTag: input.E2EConfig.GetVariable(CoreDNSVersionUpgradeTo),
315-
MachineDeployments: clusterResources.MachineDeployments,
316-
MachinePools: clusterResources.MachinePools,
317-
KubernetesUpgradeVersion: input.E2EConfig.GetVariable(KubernetesVersionUpgradeTo),
318-
WaitForMachinesToBeUpgraded: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
319-
WaitForKubeProxyUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
320-
WaitForDNSUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
321-
WaitForEtcdUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
310+
ClusterProxy: selfHostedClusterProxy,
311+
Cluster: clusterResources.Cluster,
312+
ControlPlane: clusterResources.ControlPlane,
313+
EtcdImageTag: input.E2EConfig.GetVariable(EtcdVersionUpgradeTo),
314+
DNSImageTag: input.E2EConfig.GetVariable(CoreDNSVersionUpgradeTo),
315+
MachineDeployments: clusterResources.MachineDeployments,
316+
MachinePools: clusterResources.MachinePools,
317+
KubernetesUpgradeVersion: input.E2EConfig.GetVariable(KubernetesVersionUpgradeTo),
318+
WaitForMachinesToBeUpgraded: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
319+
WaitForMachinePoolToBeUpgraded: input.E2EConfig.GetIntervals(specName, "wait-machine-pool-upgrade"),
320+
WaitForKubeProxyUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
321+
WaitForDNSUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
322+
WaitForEtcdUpgrade: input.E2EConfig.GetIntervals(specName, "wait-machine-upgrade"),
322323
})
323324
} else {
324325
// Cluster is not using ClusterClass, upgrade via individual resources.

0 commit comments

Comments
 (0)