From 9358866406cef36ed8680e7911076dbce8efcf25 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Tue, 5 Sep 2023 16:42:29 +0200 Subject: [PATCH] fix tests --- .../alfresco-repository/tests/message-broker_test.yaml | 9 --------- charts/alfresco-repository/tests/search_test.yaml | 8 ++++---- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/charts/alfresco-repository/tests/message-broker_test.yaml b/charts/alfresco-repository/tests/message-broker_test.yaml index 376d93266..dca154c8a 100644 --- a/charts/alfresco-repository/tests/message-broker_test.yaml +++ b/charts/alfresco-repository/tests/message-broker_test.yaml @@ -9,11 +9,6 @@ values: tests: - it: should render ActiveMQ minimal config asserts: - - equal: - path: spec.template.metadata.annotations['checksum.config.alfresco.org/messageBroker'] - value: &cfgsum c2939932894f879e156e0ccaebb43552058663dbbedd75c74afd20a86662e054 - template: deployment.yaml - - it: should render custom secret with modified checksum set: configuration: @@ -47,7 +42,3 @@ tests: - hasDocuments: count: 0 template: secret-message-broker.yaml - - notEqual: - path: spec.template.metadata.annotations['checksum.config.alfresco.org/db'] - value: *cfgsum - template: deployment.yaml diff --git a/charts/alfresco-repository/tests/search_test.yaml b/charts/alfresco-repository/tests/search_test.yaml index add407d29..e98f2176f 100644 --- a/charts/alfresco-repository/tests/search_test.yaml +++ b/charts/alfresco-repository/tests/search_test.yaml @@ -91,7 +91,7 @@ tests: content: name: SEARCH_HOST valueFrom: - configmapKeyRef: + configMapKeyRef: name: mysolrcm key: INDEX_SERVICE_HOST optional: true @@ -100,7 +100,7 @@ tests: content: name: SEARCH_PORT valueFrom: - configmapKeyRef: + configMapKeyRef: name: mysolrcm key: INDEX_SERVICE_PORT optional: true @@ -109,7 +109,7 @@ tests: content: name: SEARCH_SECURECOMMS valueFrom: - configmapKeyRef: + configMapKeyRef: name: mysolrcm key: INDEX_SERVICE_SECURITY optional: true @@ -239,4 +239,4 @@ tests: - failedTemplate: errorMessage: |- Search Service flavor MUST be one of 'noindex', 'solr6' or 'elasticsearch' - template: configmap.yaml + template: deployment.yaml