From be226256d85836a8a213f54f5b56c4da570d6473 Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Thu, 9 Feb 2023 14:46:18 +0000 Subject: Fix test failures in K8s CSIT Apex-pdp - Add json response files, update sim hostnames Api,Pap - Update context paths for prometheus metrics Print console logs of test execution Issue-ID: POLICY-4546 Signed-off-by: zrrmmua Change-Id: I1bed6e4077c7e52b986bcb927204819ec0d95d99 --- helm/tests/pap-test.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helm/tests/pap-test.robot') diff --git a/helm/tests/pap-test.robot b/helm/tests/pap-test.robot index c8c03014..6bc0c714 100644 --- a/helm/tests/pap-test.robot +++ b/helm/tests/pap-test.robot @@ -42,11 +42,11 @@ Metrics [Documentation] Verify policy pap is exporting prometheus metrics ${auth}= PolicyAdminAuth ${resp}= GetMetrics ${POLICY_PAP_IP} ${auth} /policy/pap/v1/ - Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/healthcheck",} 1.0 - Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/policy/pap/v1/components/healthcheck",} 1.0 + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/healthcheck",} + Should Contain ${resp.text} http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/components/healthcheck",} 1.0 Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="save",repository="PdpGroupRepository",state="SUCCESS",} 1.0 Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findByKeyName",repository="PdpGroupRepository",state="SUCCESS",} 1.0 - Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PolicyStatusRepository",state="SUCCESS",} 1.0 + Should Contain ${resp.text} spring_data_repository_invocations_seconds_count{exception="None",method="findAll",repository="PolicyStatusRepository",state="SUCCESS",} Statistics [Documentation] Verify policy pap statistics -- cgit 1.2.3-korg