aboutsummaryrefslogtreecommitdiffstats
path: root/csit/api
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2022-02-14 13:51:34 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2022-02-14 14:45:44 +0000
commit67f7bd978865e8cad3cc84c2a4074f6ce02dff3e (patch)
tree4bf7535c86cce509ebca8b65c94407115a2e669d /csit/api
parentcaf5997ca8d51ad4dc5353e6e035a46cdea2e0d4 (diff)
Fix policy-api CSIT test
Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9 Issue-ID: POLICY-3753 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/api')
-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