diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-02-09 14:46:18 +0000 |
---|---|---|
committer | Ramesh Murugan Iyer <ramesh.murugan.iyer@est.tech> | 2023-02-10 16:31:33 +0000 |
commit | be226256d85836a8a213f54f5b56c4da570d6473 (patch) | |
tree | 7a31ae2d930e99540464e8a75746a9a62fd103ff /helm/tests/pap-test.robot | |
parent | 030b296310476f81d0ee3f66aac04622a65b201e (diff) |
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 <ramesh.murugan.iyer@est.tech>
Change-Id: I1bed6e4077c7e52b986bcb927204819ec0d95d99
Diffstat (limited to 'helm/tests/pap-test.robot')
-rw-r--r-- | helm/tests/pap-test.robot | 6 |
1 files changed, 3 insertions, 3 deletions
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 |