Skip to content

Commit d5ece4a

Browse files
committed
[test] fix memcached cfg setting
With [1] it is expected that in case of IPv4 there are no brackets in the memcached parameter. [1] openstack-k8s-operators/infra-operator#477 Signed-off-by: Martin Schuppert <[email protected]>
1 parent 63f9217 commit d5ece4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/keystoneapi_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ var _ = Describe("Keystone controller", func() {
417417
Expect(configData).To(
418418
ContainSubstring("backend = dogpile.cache.memcached"))
419419
Expect(configData).To(
420-
ContainSubstring(fmt.Sprintf("memcache_servers=inet:[memcached-0.memcached.%s.svc]:11211,inet:[memcached-1.memcached.%s.svc]:11211,inet:[memcached-2.memcached.%s.svc]:11211",
420+
ContainSubstring(fmt.Sprintf("memcache_servers=inet:memcached-0.memcached.%s.svc:11211,inet:memcached-1.memcached.%s.svc:11211,inet:memcached-2.memcached.%s.svc:11211",
421421
keystoneAPIName.Namespace, keystoneAPIName.Namespace, keystoneAPIName.Namespace)))
422422
mariadbAccount := mariadb.GetMariaDBAccount(keystoneAccountName)
423423
mariadbSecret := th.GetSecret(types.NamespacedName{Name: mariadbAccount.Spec.Secret, Namespace: keystoneAPIName.Namespace})

0 commit comments

Comments
 (0)