@@ -96,28 +96,14 @@ func MachineRemediationSpec(ctx context.Context, inputGetter func() MachineRemed
96
96
WaitForMachineRemediation : input .E2EConfig .GetIntervals (specName , "wait-machine-remediation" ),
97
97
})
98
98
99
- << << << < HEAD
100
- == == == =
101
- By ("Setting a machine unhealthy and wait for MachineDeployment remediation" )
102
- framework .DiscoverMachineHealthChecksAndWaitForRemediation (ctx , framework.DiscoverMachineHealthCheckAndWaitForRemediationInput {
103
- ClusterProxy : input .BootstrapClusterProxy ,
104
- Cluster : clusterResources .Cluster ,
105
- WaitForMachineRemediation : input .E2EConfig .GetIntervals (specName , "wait-machine-remediation" ),
106
- })
107
-
108
- >> >> >> > Add watch label to controllers
109
99
By ("PASSED!" )
110
100
})
111
101
112
102
It ("Should successfully trigger KCP remediation" , func () {
113
103
114
104
By ("Creating a workload cluster" )
115
105
116
- << << << < HEAD
117
106
clusterctl .ApplyClusterTemplateAndWait (ctx , clusterctl.ApplyClusterTemplateAndWaitInput {
118
- == == == =
119
- clusterResources = clusterctl .ApplyClusterTemplateAndWait (ctx , clusterctl.ApplyClusterTemplateAndWaitInput {
120
- >> >> >> > Add watch label to controllers
121
107
ClusterProxy : input .BootstrapClusterProxy ,
122
108
ConfigCluster : clusterctl.ConfigClusterInput {
123
109
LogFolder : filepath .Join (input .ArtifactFolder , "clusters" , input .BootstrapClusterProxy .GetName ()),
@@ -134,11 +120,7 @@ func MachineRemediationSpec(ctx context.Context, inputGetter func() MachineRemed
134
120
WaitForClusterIntervals : input .E2EConfig .GetIntervals (specName , "wait-cluster" ),
135
121
WaitForControlPlaneIntervals : input .E2EConfig .GetIntervals (specName , "wait-control-plane" ),
136
122
WaitForMachineDeployments : input .E2EConfig .GetIntervals (specName , "wait-worker-nodes" ),
137
- << << << < HEAD
138
123
}, clusterResources )
139
- == == == =
140
- })
141
- >> >> >> > Add watch label to controllers
142
124
143
125
By ("Setting a machine unhealthy and wait for KubeadmControlPlane remediation" )
144
126
framework .DiscoverMachineHealthChecksAndWaitForRemediation (ctx , framework.DiscoverMachineHealthCheckAndWaitForRemediationInput {
0 commit comments