From d733a3e879d7c7fc6ce066fd8b19bbbe0ebff145 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Tue, 19 Sep 2023 14:47:44 +1000 Subject: [PATCH] Add test for input ready condition Signed-off-by: Brendan Shephard --- .../openstackdataplanenodeset_controller_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/functional/openstackdataplanenodeset_controller_test.go b/tests/functional/openstackdataplanenodeset_controller_test.go index 055268740..5ab032909 100644 --- a/tests/functional/openstackdataplanenodeset_controller_test.go +++ b/tests/functional/openstackdataplanenodeset_controller_test.go @@ -96,5 +96,13 @@ var _ = Describe("Dataplane Role Test", func() { Expect(secret.Data["inventory"]).Should( ContainSubstring("edpm-compute-nodeset")) }) + It("Should set Input ready", func() { + th.ExpectCondition( + dataplaneNodeSetName, + ConditionGetterFunc(DataplaneConditionGetter), + condition.InputReadyCondition, + corev1.ConditionTrue, + ) + }) }) })