Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Sep 5, 2023
1 parent 23e6adb commit 9358866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
9 changes: 0 additions & 9 deletions charts/alfresco-repository/tests/message-broker_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions charts/alfresco-repository/tests/search_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ tests:
content:
name: SEARCH_HOST
valueFrom:
configmapKeyRef:
configMapKeyRef:
name: mysolrcm
key: INDEX_SERVICE_HOST
optional: true
Expand All @@ -100,7 +100,7 @@ tests:
content:
name: SEARCH_PORT
valueFrom:
configmapKeyRef:
configMapKeyRef:
name: mysolrcm
key: INDEX_SERVICE_PORT
optional: true
Expand All @@ -109,7 +109,7 @@ tests:
content:
name: SEARCH_SECURECOMMS
valueFrom:
configmapKeyRef:
configMapKeyRef:
name: mysolrcm
key: INDEX_SERVICE_SECURITY
optional: true
Expand Down Expand Up @@ -239,4 +239,4 @@ tests:
- failedTemplate:
errorMessage: |-
Search Service flavor MUST be one of 'noindex', 'solr6' or 'elasticsearch'
template: configmap.yaml
template: deployment.yaml

0 comments on commit 9358866

Please sign in to comment.