We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa284d commit c53da18Copy full SHA for c53da18
exp/controllers/awsmachinepool_controller_test.go
@@ -913,6 +913,12 @@ func TestAWSMachinePoolReconciler(t *testing.T) {
913
},
914
}
915
g.Expect(testEnv.Create(ctx, newBootstrapSecret)).To(Succeed())
916
+ g.Eventually(func(gomega Gomega) {
917
+ gomega.Expect(testEnv.Client.Get(ctx, client.ObjectKey{
918
+ Name: newBootstrapSecret.Name,
919
+ Namespace: newBootstrapSecret.Namespace,
920
+ }, newBootstrapSecret)).To(Succeed())
921
+ }).Should(Succeed())
922
ms.MachinePool.Spec.Template.Spec.Bootstrap.DataSecretName = ptr.To[string](newBootstrapSecret.Name)
923
924
// Since `AWSMachinePool.status.launchTemplateVersion` isn't set yet,
0 commit comments