From 0fbd752b37e66a06fe419ba7d607d786f5bf8582 Mon Sep 17 00:00:00 2001 From: Ram Krishna Verma Date: Wed, 12 Jul 2023 12:03:55 -0400 Subject: Remove statistics from csit tests Removing the db based statistics tests from csit first, so that later when we remove the actual code from repos the builds are not affected. Issue-ID: POLICY-4109 Change-Id: If21ffe93f000e605e4f7690cfc4e7986346fe67f Signed-off-by: Ram Krishna Verma --- csit/resources/tests/distribution-test.robot | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'csit/resources/tests/distribution-test.robot') 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 -- cgit 1.2.3-korg