Skip to content

Commit 9e07935

Browse files
committed
wipwip
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
1 parent e60c103 commit 9e07935

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/functional/ctlplane/openstackoperator_controller_test.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,25 +1896,25 @@ var _ = Describe("OpenStackOperator controller", func() {
18961896
g.Expect(k8sClient.Update(ctx, OSCtlplane)).Should(Succeed())
18971897
}, timeout, interval).Should(Succeed())
18981898

1899-
// nova := &novav1.Nova{}
1900-
// Eventually(func(g Gomega) {
1901-
// g.Expect(k8sClient.Get(ctx, names.NovaName, nova)).Should(Succeed())
1902-
// g.Expect(nova).ShouldNot(BeNil())
1903-
// nova.Status.ObservedGeneration = nova.Generation
1904-
// nova.Status.Conditions.MarkTrue(novav1.NovaAPIReadyCondition, "Ready")
1905-
// g.Expect(th.K8sClient.Status().Update(th.Ctx, nova)).To(Succeed())
1906-
// th.Logger.Info("Simulated nova ready", "on", names.NovaName)
1907-
// }, timeout, interval).Should(Succeed())
1908-
1909-
// not in SimulateControlplaneReady(), but never works (and is not needed here) anyways
1899+
nova := &novav1.Nova{}
1900+
Eventually(func(g Gomega) {
1901+
g.Expect(k8sClient.Get(ctx, names.NovaName, nova)).Should(Succeed())
1902+
g.Expect(nova).ShouldNot(BeNil())
1903+
nova.Status.ObservedGeneration = nova.Generation
1904+
nova.Status.Conditions.MarkTrue(novav1.NovaAPIReadyCondition, "Ready")
1905+
g.Expect(th.K8sClient.Status().Update(th.Ctx, nova)).To(Succeed())
1906+
th.Logger.Info("Simulated nova ready", "on", names.NovaName)
1907+
}, timeout, interval).Should(Succeed())
1908+
1909+
// // not in SimulateControlplaneReady(), but never works (and is not needed here) anyways
19101910
// Eventually(func(_ Gomega) {
19111911
// th.ExpectCondition(
19121912
// names.OpenStackControlplaneName,
19131913
// ConditionGetterFunc(OpenStackControlPlaneConditionGetter),
19141914
// corev1.OpenStackControlPlaneNovaReadyCondition,
19151915
// k8s_corev1.ConditionTrue,
19161916
// )
1917-
// }, timeout, interval).Should(Succeed())
1917+
// }, timeout*10, interval).Should(Succeed())
19181918
})
19191919

19201920
It("should have nova and deps enabled with nova notifications bus instance configured by inheritance", func() {

0 commit comments

Comments
 (0)