Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions test/e2e/clusterctl_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,14 @@ func ClusterctlUpgradeSpec(ctx context.Context, inputGetter func() ClusterctlUpg
Namespace: workloadCluster.Namespace,
})

Byf("[%d] Verify Machines Ready condition is true", i)
framework.VerifyMachinesReady(ctx, framework.VerifyMachinesReadyInput{
Lister: managementClusterProxy.GetClient(),
Name: workloadCluster.Name,
Namespace: workloadCluster.Namespace,
})
if len(postUpgradeMachineList.Items) > 0 {
Byf("[%d] Verify Machines Ready condition is true", i)
framework.VerifyMachinesReady(ctx, framework.VerifyMachinesReadyInput{
Lister: managementClusterProxy.GetClient(),
Name: workloadCluster.Name,
Namespace: workloadCluster.Namespace,
})
}
}

// Note: It is a known issue on Kubernetes < v1.29 that SSA sometimes fail:
Expand Down
Loading