Purge all active redfish session post boot test run
Change-Id: Ic169b994c02eb5e3a5eba3b5a783974e86f4bb2b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/obmc_boot_test.py b/lib/obmc_boot_test.py
index e9e7f83..ccc81c4 100755
--- a/lib/obmc_boot_test.py
+++ b/lib/obmc_boot_test.py
@@ -994,7 +994,9 @@
BuiltIn().fail(message)
# This should help prevent ConnectionErrors.
- grk.run_key_u("Close All Connections")
+ # Purge all redfish and REST connection sessions.
+ grk.run_key_u("Close All Connections", ignore=1)
+ grk.run_key_u("Delete All Redfish Sessions", ignore=1)
return True