Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #417 from bshephar/input-ready-test
Browse files Browse the repository at this point in the history
Add test for input ready condition
  • Loading branch information
openshift-merge-robot authored Sep 19, 2023
2 parents e89d5ef + d733a3e commit a7fd24b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/functional/openstackdataplanenodeset_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,13 @@ var _ = Describe("Dataplane NodeSet 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,
)
})
})
})

0 comments on commit a7fd24b

Please sign in to comment.