X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Ftestsuites%2Fricdeployment.robot;fp=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Ftestsuites%2Fricdeployment.robot;h=85920f7eed1801b419db9384574ffb0d01583d27;hb=3d053f85cc9c42c57850780a18afb0eef425303c;hp=34176754e67a5a73c2eef945379eeb07cb67b647;hpb=07d27778d0053beb672db05c58a8be00805c1567;p=it%2Ftest.git diff --git a/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/ricdeployment.robot b/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/ricdeployment.robot index 3417675..85920f7 100644 --- a/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/ricdeployment.robot +++ b/ric_robot_suite/helm/nanobot/configmap-src/public/testsuites/ricdeployment.robot @@ -18,6 +18,8 @@ Documentation Tests for the existence and functionality of RIC components Resource /robot/resources/global_properties.robot +Resource /robot/resources/ric/ric_utils.robot + Library KubernetesEntity ${GLOBAL_RICPLT_NAMESPACE} Library Collections Library String @@ -30,13 +32,3 @@ Ensure RIC components are deployed and available \ ${deploy} = Deployment ${deploymentName} \ ${status} = Most Recent Availability Condition @{deploy.status.conditions} \ Should Be Equal As Strings ${status} True ignore_case=True msg=${Component} is not available - -*** Keywords *** -Most Recent Availability Condition - # this makes the probably-unsafe assumption that the conditions are ordered - # temporally. - [Arguments] @{Conditions} - ${status} = Set Variable 'False' - :FOR ${Condition} IN @{Conditions} - \ ${status} = Set Variable If '${Condition.type}' == 'Available' ${Condition.status} ${status} - [Return] ${status}