@@ -20,7 +20,6 @@ Test Tags restart slow
2020${PROXY_HOST } ${EMPTY }
2121${PROXY_PORT } ${EMPTY }
2222${PROMETHEUS_HOST } ${EMPTY }
23- ${PROMETHEUS_PORT } ${EMPTY }
2423${TELEMETRY_WRITE_ENDPOINT } https://infogw.api.openshift.com/metrics/v1/receive
2524${PROXY_ENDPOINT } http://${PROXY_HOST } :${PROXY_PORT } /api/v1/write
2625${ENABLE_TELEMETRY } SEPARATOR=\n
@@ -71,14 +70,12 @@ MicroShift Reports Metrics To Default Server Through Proxy
7170
7271MicroShift Fails to Report Metrics To Prometheus Server With Telemetry Disabled
7372 [Documentation] Check MicroShift is not able to send metrics to the telemetry server when it is disabled.
74- [Setup] Run Keywords
75- ... Setup Telemetry Configuration ${DISABLE_TELEMETRY_TO_PROMETHEUS } ${PULL_SECRET_METRICS }
73+ [Setup] Setup Telemetry Configuration ${DISABLE_TELEMETRY_TO_PROMETHEUS } ${PULL_SECRET_METRICS }
7674
7775 Should Find Metrics In Journal Log Success Telemetry is disabled
7876 Should Find Metrics In Journal Log Fails Metrics sent successfully
7977
80- [Teardown] Run Keywords
81- ... Remove Telemetry Configuration
78+ [Teardown] Remove Telemetry Configuration
8279
8380MicroShift Fails to Report Metrics To Default Server With Wrong Pull Secret
8481 [Documentation] Check MicroShift is not able to send metrics to the telemetry server when the pull secret is wrong.
@@ -91,10 +88,7 @@ MicroShift Fails to Report Metrics To Default Server With Wrong Pull Secret
9188
9289MicroShift Reports Metrics To Prometheus Server
9390 [Documentation] Check the expected metrics are sent to the local server.
94- [Setup] Run Keywords
95- ... Start Prometheus Server ${PROMETHEUS_PORT }
96- ... AND
97- ... Setup Telemetry Configuration ${ENABLE_TELEMETRY_TO_PROMETHUS } ${PULL_SECRET_METRICS }
91+ [Setup] Setup Telemetry Configuration ${ENABLE_TELEMETRY_TO_PROMETHUS } ${PULL_SECRET_METRICS }
9892
9993 Should Find Metrics In Journal Log Success Metrics sent successfully
10094
@@ -103,10 +97,7 @@ MicroShift Reports Metrics To Prometheus Server
10397 Check Prometheus Query ${PROMETHEUS_HOST } ${PROMETHEUS_PORT } ${metric } add_hostname_filter=${False }
10498 END
10599
106- [Teardown] Run Keywords
107- ... Remove Telemetry Configuration
108- ... AND
109- ... Stop Prometheus Server ${PROMETHEUS_PORT }
100+ [Teardown] Remove Telemetry Configuration
110101
111102
112103*** Keywords ***
@@ -130,7 +121,7 @@ Check Required Telemetry Variables
130121 Should Not Be Empty ${PROMETHEUS_HOST } PROMETHEUS_HOST variable is required
131122 ${string_value } = Convert To String ${PROMETHEUS_PORT }
132123 Should Not Be Empty ${string_value } PROMETHEUS_PORT variable is required
133- Should Not Be Empty ${PROXY_HOST } PROXY_HOST variable is required
124+ Should Not Be Empty ${PROXY_PORT } PROXY_PORT variable is required
134125 ${string_value } = Convert To String ${PROXY_PORT }
135126 Should Not Be Empty ${string_value } PROXY_PORT variable is required
136127
0 commit comments