Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 58ba053

Browse files
author
Chris Wiechmann
committed
Update metricbeat-entrypoint-test.bats
1 parent c60f9e5 commit 58ba053

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

metricbeat/scripts/metricbeat-entrypoint-test.bats

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ setup() {
3636
@test "invoke metric-entrypoint with ELASTICSEARCH_HOSTS including spaces prints adjusted hosts" {
3737
export ELASTICSEARCH_HOSTS="https://elasticsearch1.host:9200 , https://elasticsearch2.host:9202, https://elasticsearch3.host:9203"
3838
export METRICBEAT_MODULES="kibana,elasticsearch"
39-
run metricbeat/scripts/metricbeat-entrypoint.sh
39+
metricbeat/scripts/metricbeat-entrypoint.sh
40+
echo "Line 0: ${lines[0]}"
41+
echo "Line 1: ${lines[1]}"
42+
echo "Line 2: ${lines[2]}"
43+
echo "Line 3: ${lines[3]}"
4044
[ "$status" -eq 0 ]
4145
[ "${lines[2]}" = 'Elasticsearch hosts: ["https://elasticsearch1.host:9200","https://elasticsearch2.host:9202","https://elasticsearch3.host:9203"] will be monitored by Metricbeat' ]
4246
}

0 commit comments

Comments
 (0)