From 67f7bd978865e8cad3cc84c2a4074f6ce02dff3e Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Mon, 14 Feb 2022 13:51:34 +0000 Subject: Fix policy-api CSIT test Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9 Issue-ID: POLICY-3753 Signed-off-by: a.sreekumar --- csit/api/tests/api-test.robot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'csit/api') 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 -- cgit 1.2.3-korg