summaryrefslogtreecommitdiffstats
path: root/csit/resources/tests/distribution-test.robot
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2023-07-14 08:42:33 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-14 08:42:33 +0000
commita9e3d48571d7d3c958ac981c6eda60ed3b951279 (patch)
tree6c6d49578c90b558838379bfcd860cf02a206d75 /csit/resources/tests/distribution-test.robot
parenta3b2a48c3d3810d46aad53b28bc3bafdf226e055 (diff)
parent0fbd752b37e66a06fe419ba7d607d786f5bf8582 (diff)
Merge "Remove statistics from csit tests"
Diffstat (limited to 'csit/resources/tests/distribution-test.robot')
-rw-r--r--csit/resources/tests/distribution-test.robot17
1 files changed, 0 insertions, 17 deletions
diff --git a/csit/resources/tests/distribution-test.robot b/csit/resources/tests/distribution-test.robot
index 63d7e8be..b8b49248 100644
--- a/csit/resources/tests/distribution-test.robot
+++ b/csit/resources/tests/distribution-test.robot
@@ -13,23 +13,6 @@ Healthcheck
${resp}= PerformGetRequest ${DISTRIBUTION_IP} /healthcheck 200 null ${hcauth}
Should Be Equal As Strings ${resp.json()['code']} 200
-Statistics
- [Documentation] Verify policy distribution statistics
- ${hcauth}= PolicyAdminAuth
- ${resp}= PerformGetRequest ${DISTRIBUTION_IP} /statistics 200 null ${hcauth}
- Should Be Equal As Strings ${resp.json()['code']} 200
-
-Metrics
- [Documentation] Verify policy-distribution is exporting prometheus metrics
- ${hcauth}= PolicyAdminAuth
- ${resp}= PerformGetRequest ${DISTRIBUTION_IP} /metrics 200 null ${hcauth}
- Should Contain ${resp.text} total_distribution_received_count_total 0.0
- Should Contain ${resp.text} distribution_success_count_total 0.0
- Should Contain ${resp.text} distribution_failure_count_total 0.0
- Should Contain ${resp.text} total_download_received_count_total 0.0
- Should Contain ${resp.text} download_success_count_total 0.0
- Should Contain ${resp.text} download_failure_count_total 0.0
-
InvokeDistributionAndRunEventOnEngine
Wait Until Keyword Succeeds 5 min 30 sec InvokeDistributionUsingFile And RunEventOnApexEngine