From 9672bee410669e1bd6e94520d17dea0ba414d075 Mon Sep 17 00:00:00 2001 From: JVThomas Date: Thu, 12 Oct 2023 13:35:53 -0400 Subject: [PATCH] WX-1307 typo correction, added response logging for initial DELETE response --- .../python/cromwell-az-e2e-test/cromwell_az_e2e_test/az_e2e.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/python/cromwell-az-e2e-test/cromwell_az_e2e_test/az_e2e.py b/server/src/test/python/cromwell-az-e2e-test/cromwell_az_e2e_test/az_e2e.py index 4552aee8e97..d88e129a9c0 100644 --- a/server/src/test/python/cromwell-az-e2e-test/cromwell_az_e2e_test/az_e2e.py +++ b/server/src/test/python/cromwell-az-e2e-test/cromwell_az_e2e_test/az_e2e.py @@ -157,6 +157,7 @@ def delete_workspace(workspace_namespace, workspace_name, max_retry=4): # First call to initiate workspace deletion response = requests.delete(url=delete_workspace_url, headers=headers) handle_failed_request(response, f"Error deleting workspace {workspace_name} - {workspace_namespace}", 202) + output_message(response.text) output_message(f"Workspace {workspace_name} - {workspace_namespace} delete request submitted") # polling to ensure that workspace is deleted (which takes about 5ish minutes) @@ -166,7 +167,7 @@ def delete_workspace(workspace_namespace, workspace_name, max_retry=4): get_workspace_url = f"{rawls_url}/api/workspaces/{workspace_namespace}/{workspace_name}" polling_response = requests.get(url=get_workspace_url, headers=headers) polling_status_code = polling_response.status_code - output_message(f"Polling GET WWORKSPACE - {polling_status_code}") + output_message(f"Polling GET WORKSPACE - {polling_status_code}") if polling_status_code == 200: output_message(f"Workspace {workspace_name} - {workspace_namespace} is still active") max_retry -= 1