Skip to content

Commit

Permalink
Merge pull request #112 from stuggi/TLSInputReadyCondition_ready_check
Browse files Browse the repository at this point in the history
[test] validate that TLSInputReadyCondition is ready when cert secret…
  • Loading branch information
openshift-merge-bot[bot] committed Apr 22, 2024
2 parents 8d6162a + 9e8dd7f commit 066b5ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/functional/barbican_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,13 @@ var _ = Describe("Barbican controller", func() {
DeferCleanup(k8sClient.Delete, ctx, th.CreateCertSecret(barbicanTest.PublicCertSecret))
keystone.SimulateKeystoneEndpointReady(barbicanTest.BarbicanKeystoneEndpoint)

th.ExpectCondition(
barbicanTest.Instance,
ConditionGetterFunc(BarbicanAPIConditionGetter),
condition.TLSInputReadyCondition,
corev1.ConditionTrue,
)

BarbicanAPIExists(barbicanTest.Instance)

d := th.GetDeployment(barbicanTest.BarbicanAPI)
Expand Down

0 comments on commit 066b5ce

Please sign in to comment.