diff --git a/tests/functional/ctlplane/openstackoperator_controller_test.go b/tests/functional/ctlplane/openstackoperator_controller_test.go index 03f2e004d3..738fd9acbc 100644 --- a/tests/functional/ctlplane/openstackoperator_controller_test.go +++ b/tests/functional/ctlplane/openstackoperator_controller_test.go @@ -1946,8 +1946,8 @@ var _ = Describe("OpenStackOperator controller", func() { }) It("should have configured nova from the service template", func() { - OSCtlplane := GetOpenStackControlPlane(names.OpenStackControlplaneName) Eventually(func(g Gomega) { + OSCtlplane := GetOpenStackControlPlane(names.OpenStackControlplaneName) OSCtlplane.Spec.Nova.Template.APIDatabaseInstance = "custom-db" g.Expect(k8sClient.Update(ctx, OSCtlplane)).Should(Succeed()) }, timeout, interval).Should(Succeed())