From a377f7f4b56088b38c7341005cd67e3c3d241967 Mon Sep 17 00:00:00 2001 From: "Paulo E. Castro" Date: Thu, 16 Nov 2023 20:18:13 +0000 Subject: [PATCH] WIP: Sleep for a bit. (#440) Signed-off-by: Paulo E. Castro --- charts/fluentd/templates/tests/test-connection.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/fluentd/templates/tests/test-connection.yaml b/charts/fluentd/templates/tests/test-connection.yaml index 66e7ede2..6c0423e3 100644 --- a/charts/fluentd/templates/tests/test-connection.yaml +++ b/charts/fluentd/templates/tests/test-connection.yaml @@ -17,7 +17,12 @@ spec: containers: - name: wget image: busybox - command: ['wget'] - args: ['{{ include "fluentd.fullname" . }}:24231/metrics'] + command: + - sh + - -c + - | + echo "sleeping a bit ..." + sleep 5 + wget '{{ include "fluentd.fullname" . }}:24231/metrics' restartPolicy: Never {{ end }} \ No newline at end of file