Ignore 404 when deleting non-existent project in emco.sh 60/114460/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 20 Oct 2020 22:36:16 +0000 (15:36 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Fri, 30 Oct 2020 23:35:09 +0000 (16:35 -0700)
The delete is run at the start of the test, it is expected that the
resource does not exist.

Issue-ID: MULTICLOUD-1243
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I1b060ec8f17fd4b9b76ed03d8dc3bd7c21756690

kud/tests/emco.sh

index 8b459b9..2b8eab1 100755 (executable)
@@ -424,7 +424,7 @@ function deleteOrchestratorData {
 
 
     delete_resource "${base_url_orchestrator}/projects/${projectname}/composite-apps/${collection_compositeapp_name}/${compositeapp_version}"
-    delete_resource "${base_url_orchestrator}/projects/${projectname}"
+    delete_resource_nox "${base_url_orchestrator}/projects/${projectname}"
 
     print_msg "deleteOrchestratorData done"
 }