Take new session while calling Get States
Change-Id: I6bda2bb003ee25ae3ff77985405a73e0428ac53f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index e90ccbf..cb6dd82 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -875,8 +875,7 @@
# Refer: openbmc/docs/designs/boot-progress.md
- ${session_info}= Redfish.Get Session Info
- Log ${session_info}
+ Redfish.Login
${bmc_state}= Redfish Get BMC State
${chassis_state} ${chassis_status}= Redfish Get Host State