aboutsummaryrefslogtreecommitdiffstats
path: root/csit/api/tests
diff options
context:
space:
mode:
Diffstat (limited to 'csit/api/tests')
-rw-r--r--csit/api/tests/api-test.robot5
1 files changed, 3 insertions, 2 deletions
diff --git a/csit/api/tests/api-test.robot b/csit/api/tests/api-test.robot
index 892bf0e4..80e8afd5 100644
--- a/csit/api/tests/api-test.robot
+++ b/csit/api/tests/api-test.robot
@@ -14,8 +14,9 @@ Healthcheck
Metrics
[Documentation] Verify policy-api is exporting prometheus metrics
- ${resp}= GetReq /metrics
- Should Contain ${resp.text} jvm_threads_current
+ ${auth}= PolicyAdminAuth
+ ${resp}= GetMetrics ${POLICY_API_IP} ${auth}
+ Should Contain ${resp.text} jvm_threads_live_threads
Statistics
[Documentation] Verify policy api statistics