polling on number of devices after enable command
Change-Id: I4c93d5e528e3e3e0875554797d8979759fbae6f4
diff --git a/tests/atests/robot/voltha_automated_test_suite.robot b/tests/atests/robot/voltha_automated_test_suite.robot
index afb9672..c86193f 100755
--- a/tests/atests/robot/voltha_automated_test_suite.robot
+++ b/tests/atests/robot/voltha_automated_test_suite.robot
@@ -61,10 +61,7 @@
Status Should Be Success After Preprovision Command
Check Olt Fields Before Enabling
Enable
- Wait Until Keyword Succeeds ${RETRY_TIMEOUT_60} ${RETRY_INTERVAL_2} Query Devices After Enabling
- Status Should Be Success After Enable Command
- Check Olt Fields After Enabling
- Check Onu Fields After Enabling
+ Wait Until Keyword Succeeds ${RETRY_TIMEOUT_60} ${RETRY_INTERVAL_2} Validate Number of Devices
Wait Until Keyword Succeeds ${PROCEED_TIMEOUT_180} ${RETRY_INTERVAL_2} Proceed
Olt Onu Discovery
@@ -184,5 +181,11 @@
BBSim Authentication Verification Step
[Documentation] List of steps to verify that all BBSim ONUs have successfully authenticated
- Should Have All Onus Authenticated
-
\ No newline at end of file
+ Wait Until Keyword Succeeds ${RETRY_TIMEOUT_60} ${RETRY_INTERVAL_2} Should Have All Onus Authenticated
+
+Validate Number of Devices
+ [Documentation] Validate the number of expected onus to be activated
+ Query Devices After Enabling
+ Status Should Be Success After Enable Command
+ Check Olt Fields After Enabling
+ Check Onu Fields After Enabling