Check BMC time drift
Resolves openbmc/openbmc-test-automation#1121
Change-Id: If0cf9311f4b272f134921006390ab981d908ea48
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/test_bmc_reset_loop.robot b/extended/test_bmc_reset_loop.robot
index adf9bfc..3a076ba 100644
--- a/extended/test_bmc_reset_loop.robot
+++ b/extended/test_bmc_reset_loop.robot
@@ -56,6 +56,7 @@
Check If BMC Is Up 5 min 10 sec
Wait Until Keyword Succeeds 10 min 10 sec Is BMC Ready
+ Verify BMC RTC And UTC Time Drift
BMC REST Reset Cycle
@@ -66,6 +67,7 @@
Wait Until Keyword Succeeds 10 min 10 sec Is BMC Ready
${bmc_version_after}= Get BMC Version
Should Be Equal ${bmc_version_before} ${bmc_version_after}
+ Verify BMC RTC And UTC Time Drift
BMC Reboot Cycle
@@ -75,6 +77,7 @@
OBMC Reboot (off) stack_mode=normal
${bmc_version_after}= Get BMC Version
Should Be Equal ${bmc_version_before} ${bmc_version_after}
+ Verify BMC RTC And UTC Time Drift
Test Exit Logs
diff --git a/tests/test_bmc_reboot.robot b/tests/test_bmc_reboot.robot
index 0ba5ce9..d168047 100644
--- a/tests/test_bmc_reboot.robot
+++ b/tests/test_bmc_reboot.robot
@@ -29,4 +29,5 @@
REST OBMC Reboot (off) stack_mode=normal
BMC Execute Command if [ -f ${test_file_path} ] ; then false ; fi
+ Verify BMC RTC And UTC Time Drift
diff --git a/tests/test_soft_boot_sensors.robot b/tests/test_soft_boot_sensors.robot
index 058a08c..dfcd04c 100644
--- a/tests/test_soft_boot_sensors.robot
+++ b/tests/test_soft_boot_sensors.robot
@@ -269,6 +269,7 @@
Initiate BMC Reboot
Wait Until Keyword Succeeds 10 min 10 sec Is OS Booted
+ Verify BMC RTC And UTC Time Drift
Post Test Case Execution