Skip to content

Commit 0620cfc

Browse files
committed
Hide the progress bar when calling curl in tests
1 parent 3a53a11 commit 0620cfc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

testing/kuttl/e2e/exporter/01--check-exporter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ commands:
1515
{
1616
METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
1717
"${PRIMARY}" -c exporter \
18-
-- curl http://localhost:9187/metrics)
18+
-- curl --show-error --silent 'http://localhost:9187/metrics')
1919
} || {
2020
echo >&2 'curl metrics endpoint returned error'
2121
echo "${METRICS}"

testing/kuttl/e2e/exporter/11--check-exporter-tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ commands:
1515
{
1616
METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
1717
"${PRIMARY}" -c exporter \
18-
-- curl -k https://localhost:9187/metrics)
18+
-- curl --insecure --show-error --silent 'https://localhost:9187/metrics')
1919
} || {
2020
echo >&2 'curl metrics endpoint returned error'
2121
echo "${METRICS}"

testing/kuttl/e2e/exporter/13--check-exporter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ commands:
1818
{
1919
METRICS=$(kubectl exec --namespace "${NAMESPACE}" \
2020
"${PRIMARY}" -c exporter \
21-
-- curl http://localhost:9187/metrics)
21+
-- curl --show-error --silent 'http://localhost:9187/metrics')
2222
} || {
2323
echo >&2 'curl metrics endpoint returned error'
2424
echo "${METRICS}"

0 commit comments

Comments
 (0)