Split boot attempts test for better handling and isolating when failed.
Resolves openbmc/openbmc-test-automation#1024
Change-Id: I76730d730b9f60886b69b1b6f183267424830254
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_soft_boot_sensors.robot b/tests/test_soft_boot_sensors.robot
index afe8069..058a08c 100644
--- a/tests/test_soft_boot_sensors.robot
+++ b/tests/test_soft_boot_sensors.robot
@@ -15,9 +15,9 @@
*** Test Cases ***
-Verify Boot AttemptsLeft
+Verify Boot AttemptsLeft At Standby
[Documentation] Verify system boot attempts on various boot states.
- [Tags] Verify_Boot_AttemptsLeft
+ [Tags] Verify_Boot_AttemptsLeft_At_Standby
[Template] Validate Boot AttemptsLeft
# Example: Expected state
@@ -33,9 +33,30 @@
# System at standby AttemptsLeft
Reboot 3
- Booted 2
- RebootHost 1
- Ready 1
+
+
+Verify Boot AttemptsLeft At Host Booted
+ [Tags] Verify_Boot_AttemptsLeft_At_Host_Booted
+ [Template] Validate Boot AttemptsLeft
+
+ # System at standby AttemptsLeft
+ Booted 3
+
+
+Verify Boot AttemptsLeft When Host Reboot
+ [Tags] Verify_Boot_AttemptsLeft_When_Host_Reboot
+ [Template] Validate Boot AttemptsLeft
+
+ # System at standby AttemptsLeft
+ RebootHost 2
+
+
+Verify Boot AttemptsLeft When Power Off
+ [Tags] Validate Boot AttemptsLeft_When_Power_Off
+ [Template] Validate Boot AttemptsLeft
+
+ # System at standby AttemptsLeft
+ Ready 2
Verify Boot Sensor States At Ready