Skip to content

Commit d0e8ae9

Browse files
Merge pull request openstack-k8s-operators#1558 from stuggi/fix_test
Fix functional test race condition in nova template configuration
2 parents ebf902f + aee762e commit d0e8ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/ctlplane/openstackoperator_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,8 +1946,8 @@ var _ = Describe("OpenStackOperator controller", func() {
19461946
})
19471947

19481948
It("should have configured nova from the service template", func() {
1949-
OSCtlplane := GetOpenStackControlPlane(names.OpenStackControlplaneName)
19501949
Eventually(func(g Gomega) {
1950+
OSCtlplane := GetOpenStackControlPlane(names.OpenStackControlplaneName)
19511951
OSCtlplane.Spec.Nova.Template.APIDatabaseInstance = "custom-db"
19521952
g.Expect(k8sClient.Update(ctx, OSCtlplane)).Should(Succeed())
19531953
}, timeout, interval).Should(Succeed())

0 commit comments

Comments
 (0)