[ROBOT] Fix HVVES and 5GBulkPM testcases
[testsuite.git] / robot / resources / chart_museum.robot
index 8969336..75accc6 100644 (file)
@@ -39,9 +39,9 @@ Package and add charts to repository
 
 
 Install helm charts
-    [Documentation]  Install DCAE Servcie using helm charts
-    [Arguments]                             ${chart_repo_name}                      ${dcae_servcie_helm_charts}         ${dcae_service_helm_name}       ${wait_time}=6m0s   ${set_values_override}=${EMPTY}
-    ${helm_install}=                        Set Variable                            helm install ${dcae_service_helm_name} ${chart_repo_name}/${dcae_servcie_helm_charts} --set global.repository=${registry_ovveride} ${set_values_override} --wait --timeout ${wait_time}
+    [Documentation]  Install DCAE Service using helm charts
+    [Arguments]                             ${chart_repo_name}                      ${dcae_service_helm_charts}         ${dcae_service_helm_name}       ${wait_time}=6m0s   ${set_values_override}=${EMPTY}
+    ${helm_install}=                        Set Variable                            helm -n onap install ${dcae_service_helm_name} ${chart_repo_name}/${dcae_service_helm_charts} --set global.repository=${registry_ovveride} ${set_values_override} --wait --timeout ${wait_time}
     ${helm_install_command_output} =        Run And Return Rc And Output            ${helm_install}
     Log                                     ${helm_install_command_output[1]}
     Should Be Equal As Integers             ${helm_install_command_output[0]}       0
@@ -54,7 +54,7 @@ Install helm charts from folder
     Log                                     ${helm_dependency_update_output[1]}
     Should Be Equal As Integers             ${helm_dependency_update_output[0]}     0
     ${rest}  ${dcae_servcie_helm_charts} =     Split String From Right                     ${chart_folder}                 /           1
-    ${helm_install}=                        Set Variable                            helm install ${dcae_service_helm_name} ${chart_folder} --set global.repository=${registry_ovveride} ${set_values_override} --wait --timeout ${wait_time}
+    ${helm_install}=                        Set Variable                            helm -n onap install ${dcae_service_helm_name} ${chart_folder} --set global.repository=${registry_ovveride} ${set_values_override} --wait --timeout ${wait_time}
     ${helm_install_command_output} =        Run And Return Rc And Output            ${helm_install}
     Log                                     ${helm_install_command_output[1]}
     Should Be Equal As Integers             ${helm_install_command_output[0]}       0
@@ -62,7 +62,7 @@ Install helm charts from folder
 Uninstall helm charts
     [Documentation]  Uninstall DCAE Servcie using helm charts
     [Arguments]                             ${dcae_service_helm_name}
-    ${helm_uninstall}=                      Set Variable                                    helm uninstall ${dcae_service_helm_name} --timeout 5m0s
+    ${helm_uninstall}=                      Set Variable                                    helm -n onap uninstall ${dcae_service_helm_name} --timeout 5m0s
     ${helm_uninstall_command_output}=       Run And Return Rc And Output                    ${helm_uninstall}
     Should Be Equal As Integers             ${helm_uninstall_command_output[0]}             0
     ${helm_check}=                          Set Variable                                    kubectl get pods -n onap | grep ${dcae_service_helm_name}