Fix network conf teardown
Changes:
- The session clean up is now done at
ffdc code as well and a redfish log out
fails with 401 when it tries to log out.
Added safety mechanism to protect it if it
landed into situation when test fails and
ffdc is collected
Tested:
- NA
Change-Id: I7b8392ae7927dec2fae0e873eb4ad3758fd2a1a7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index bd0ffef..653e88a 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -712,7 +712,7 @@
[Documentation] Test teardown execution.
FFDC On Test Case Fail
- Redfish.Logout
+ Run Keyword And Ignore Error Redfish.Logout
Clear IP Settings On Fail
[Documentation] Clear IP settings on fail.