diff --git a/tests/functional/keystoneapi_controller_test.go b/tests/functional/keystoneapi_controller_test.go index 1ed59158..3e5a1c38 100644 --- a/tests/functional/keystoneapi_controller_test.go +++ b/tests/functional/keystoneapi_controller_test.go @@ -45,6 +45,7 @@ var _ = Describe("Keystone controller", func() { var keystoneAccountName types.NamespacedName var keystoneDatabaseName types.NamespacedName var keystoneAPIConfigDataName types.NamespacedName + var keystoneEndpointName types.NamespacedName var dbSyncJobName types.NamespacedName var bootstrapJobName types.NamespacedName var deploymentName types.NamespacedName @@ -83,6 +84,10 @@ var _ = Describe("Keystone controller", func() { Name: "keystone-config-data", Namespace: namespace, } + keystoneEndpointName = types.NamespacedName{ + Name: "public", + Namespace: namespace, + } caBundleSecretName = types.NamespacedName{ Name: CABundleSecretName, Namespace: namespace, @@ -1168,6 +1173,7 @@ var _ = Describe("Keystone controller", func() { }) th.SimulateJobSuccess(dbSyncJobName) th.SimulateJobSuccess(bootstrapJobName) + keystone.SimulateKeystoneEndpointReady(keystoneEndpointName) th.SimulateDeploymentReplicaReady(deploymentName) })