Skip to content

Commit

Permalink
Try to fix TestClusterCacheHealthCheck test
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer [email protected]
  • Loading branch information
sbueringer committed Oct 28, 2024
1 parent 6c04105 commit 137196a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/remote/cluster_cache_healthcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestClusterCacheHealthCheck(t *testing.T) {
Namespace: ns.GetName(),
},
}
g.Expect(k8sClient.Create(ctx, testCluster)).To(Succeed())
g.Expect(env.CreateAndWait(ctx, testCluster)).To(Succeed())
conditions.MarkTrue(testCluster, clusterv1.ControlPlaneInitializedCondition)
testCluster.Status.InfrastructureReady = true
g.Expect(k8sClient.Status().Update(ctx, testCluster)).To(Succeed())
Expand Down

0 comments on commit 137196a

Please sign in to comment.