Skip to content

Commit 9080de7

Browse files
author
Mladen Rusev
committed
add a try to jq
1 parent d2b81f8 commit 9080de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/e2e/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ set +o pipefail
216216
kubectl logs deployments/venafi-kubernetes-agent \
217217
--follow \
218218
--namespace venafi \
219-
| timeout 60 jq 'if .msg | test("Data sent successfully") then . | halt_error(0) end'
219+
| timeout 60 jq 'try (if .msg | test("Data sent successfully") then . | halt_error(0) end) catch .'
220220
set -o pipefail
221221

222222
# Create a unique TLS Secret and wait for it to appear in the Venafi certificate

0 commit comments

Comments
 (0)