Ignore session delete failure
When deleting all the active session, it is possible that a listed
session just expired and cleanup automatically. In that situation
the delete would return failure.
Change-Id: I17e4fc20eec1cecd605b9367b9d88b15f538f382
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish_utils.robot b/lib/bmc_redfish_utils.robot
index 13055d4..fedbe3d 100644
--- a/lib/bmc_redfish_utils.robot
+++ b/lib/bmc_redfish_utils.robot
@@ -119,7 +119,7 @@
Remove Values From List ${resp_list} ${saved_session_info["location"]}
FOR ${session} IN @{resp_list}
- Redfish.Delete ${session}
+ Run Keyword And Ignore Error Redfish.Delete ${session}
END