Skip to content

Commit fa9adeb

Browse files
committed
fix(spectre): update test-logs grep to match 0.68.3 log format
Spectre 0.68.3 changed the relay startup log from 'Starting chainID=X tag=RELAY' to 'msg=Starting tag=RELAY'. Update the helm test grep pattern accordingly.
1 parent ba0f371 commit fa9adeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/spectre/templates/tests/test-logs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ spec:
1616
- -c
1717
- |
1818
echo 'Running tests';
19-
kubectl logs --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l 'app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/name={{ include "spectre.name" . }}' -o jsonpath='{.items[0].metadata.name}') | grep 'Starting chainID={{ .Values.chainId }} tag=RELAY'
19+
kubectl logs --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l 'app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/name={{ include "spectre.name" . }}' -o jsonpath='{.items[0].metadata.name}') | grep 'msg=Starting tag=RELAY'
2020
restartPolicy: Never

0 commit comments

Comments
 (0)