diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-12-19 09:45:08 +0000 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2025-01-10 11:47:16 +0000 |
commit | 7a6c3faeb0134776d46352f51f02cf6b2aef72b7 (patch) | |
tree | e9fcbc4e1ad8ca7c0ad32b780402f59803801a24 /csit/resources/tests | |
parent | ff37c033e7c25e1dd4ab6a1cc5b3913d27a37b0b (diff) |
General improvements on CSIT scripts
- some issues with functions order
- clear waiting times for docker containers to come up
- --local flag added to make it easier to run tests with local images
Issue-ID: POLICY-5239
Change-Id: I3bcbfd88f45110436b2b0fda16c61936ef919f95
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/resources/tests')
-rw-r--r-- | csit/resources/tests/apex-slas-3.robot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csit/resources/tests/apex-slas-3.robot b/csit/resources/tests/apex-slas-3.robot index 1ceb9b77..c8fc2582 100644 --- a/csit/resources/tests/apex-slas-3.robot +++ b/csit/resources/tests/apex-slas-3.robot @@ -17,7 +17,7 @@ Healthcheck Set Suite Variable ${pdpName} ${resp.json()['name']} ValidatePolicyExecutionAndEventRateLowComplexity - [Documentation] Validate that a moderate complexity policity can be executed in less than 100ms and minimum 30 events triggered per second + [Documentation] Validate that a moderate complexity policy can be executed in less than 100ms and minimum 30 events triggered per second Set Test Variable ${policyName} onap.policies.apex.pnf.Test ${postjson}= Get File ${CURDIR}/data/${policyName}.json CreatePolicySuccessfully /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies ${postjson} ${policyName} 1.0.0 @@ -31,7 +31,7 @@ ValidatePolicyExecutionAndEventRateLowComplexity ValidateEventExecution ${eventStartTime} ${eventEndTime} 30 ValidatePolicyExecutionAndEventRateHighComplexity - [Documentation] Validate that a high complexity policity can be executed in less than 5000ms and minimum 0.6 events triggered per second + [Documentation] Validate that a high complexity policy can be executed in less than 5000ms and minimum 0.6 events triggered per second Set Test Variable ${policyName} onap.policies.apex.pnf.metadataSet.Test ${postjson}= Get File ${CURDIR}/data/${policyName}.json CreatePolicySuccessfully /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies ${postjson} ${policyName} 1.0.0 @@ -47,7 +47,7 @@ ValidatePolicyExecutionAndEventRateHighComplexity ValidateEventExecution ${eventStartTime} ${eventEndTime} 0.6 ValidatePolicyExecutionAndEventRateModerateComplexity - [Documentation] Validate that a low complexity policity can be executed in less than 1000ms and minimum 3 events triggered per second + [Documentation] Validate that a low complexity policy can be executed in less than 1000ms and minimum 3 events triggered per second Set Test Variable ${policyName} onap.policies.native.apex.Sampledomain ${postjson}= Get File ${CURDIR}/data/${policyName}.json CreatePolicySuccessfully /policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies ${postjson} ${policyName} 1.0.0 |