Skip to content

Commit 0202f9c

Browse files
authored
Merge pull request #11343 from sbueringer/pr-fix-cct-test
🐛 Try to fix TestClusterCacheHealthCheck test
2 parents 6c04105 + 137196a commit 0202f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/remote/cluster_cache_healthcheck_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TestClusterCacheHealthCheck(t *testing.T) {
9595
Namespace: ns.GetName(),
9696
},
9797
}
98-
g.Expect(k8sClient.Create(ctx, testCluster)).To(Succeed())
98+
g.Expect(env.CreateAndWait(ctx, testCluster)).To(Succeed())
9999
conditions.MarkTrue(testCluster, clusterv1.ControlPlaneInitializedCondition)
100100
testCluster.Status.InfrastructureReady = true
101101
g.Expect(k8sClient.Status().Update(ctx, testCluster)).To(Succeed())

0 commit comments

Comments
 (0)