Skip to content

Commit c12aa08

Browse files
committed
fixup! test: ensure LoadBalancer Service IP is reachable
1 parent 21edd8b commit c12aa08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/e2e/quick_start_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ var _ = Describe("Quick start", func() {
360360
EnsureLoadBalancerServiceInput{
361361
WorkloadCluster: workloadCluster,
362362
ClusterProxy: proxy,
363-
ServciceIntervals: testE2EConfig.GetIntervals(
363+
ServiceIntervals: testE2EConfig.GetIntervals(
364364
flavor,
365365
"wait-service",
366366
),

test/e2e/serviceloadbalancer_helpers.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ func waitForMetalLBServiceLoadBalancerToBeReadyInWorkloadCluster(
146146
}
147147

148148
type EnsureLoadBalancerServiceInput struct {
149-
WorkloadCluster *clusterv1.Cluster
150-
ClusterProxy framework.ClusterProxy
151-
ServciceIntervals []interface{}
149+
WorkloadCluster *clusterv1.Cluster
150+
ClusterProxy framework.ClusterProxy
151+
ServiceIntervals []interface{}
152152
}
153153

154154
// EnsureLoadBalancerService creates a test Service of type LoadBalancer and tests that the assigned IP responds.
@@ -160,15 +160,15 @@ func EnsureLoadBalancerService(
160160
ctx, input.WorkloadCluster.Namespace, input.WorkloadCluster.Name,
161161
).GetClient()
162162

163-
svc := createTestService(ctx, workloadClusterClient, input.ServciceIntervals)
163+
svc := createTestService(ctx, workloadClusterClient, input.ServiceIntervals)
164164

165165
By("Testing the LoadBalancer Service responds")
166166
getClientIPURL := &url.URL{
167167
Scheme: "http",
168168
Host: getLoadBalancerAddress(svc),
169169
Path: "/clientip",
170170
}
171-
output := testServiceLoadBalancer(ctx, getClientIPURL, input.ServciceIntervals)
171+
output := testServiceLoadBalancer(ctx, getClientIPURL, input.ServiceIntervals)
172172
Expect(output).ToNot(BeEmpty())
173173
}
174174

0 commit comments

Comments
 (0)