Skip to content

Commit

Permalink
Merge pull request #11343 from sbueringer/pr-fix-cct-test
Browse files Browse the repository at this point in the history
🐛 Try to fix TestClusterCacheHealthCheck test
  • Loading branch information
k8s-ci-robot authored Oct 28, 2024
2 parents 6c04105 + 137196a commit 0202f9c
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 0202f9c

Please sign in to comment.