[VOL-3879] Removed static Sleeps from TCs
Change-Id: I042965c2ff77ac07ef162a25e3b96aac2177ccf1
diff --git a/libraries/utils.robot b/libraries/utils.robot
index e1d74bc..9bfc1f9 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -549,7 +549,8 @@
[Documentation] Pre-test Setup
#test for empty device list
Test Empty Device List
- Run Keyword If ${has_dataplane} Sleep 230s
+ # TBD: Need for this Sleep
+ Run Keyword If ${has_dataplane} Sleep 180s
# Create a list of olt ids (logical and device_id)
${olt_ids} Create List
FOR ${I} IN RANGE 0 ${num_olts}
@@ -867,14 +868,13 @@
... ${olt_serial_number}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate ONUs for PON OLT Disable DT ${olt_serial_number} ${olt_peer_list}
- Sleep 15s
# Enable the OLT PON Port back, and check ONU status are back to "ACTIVE"
DisableOrEnable OLT PON Port enable ${olt_device_id} ${olt_pon_port}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate OLT PON Port Status ${olt_device_id} ${olt_pon_port}
... ENABLED ACTIVE
# Waiting extra time for the ONUs to come up
- Sleep 60s
+ Sleep 30s
${olt_peer_list_new}= Retrieve Peer List From OLT PON Port ${olt_device_id} ${olt_pon_port}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate ONUs for PON OLT Enable DT ${olt_serial_number} ${olt_peer_list_new}
@@ -909,10 +909,8 @@
# Remove Subscriber Access (To replicate DT workflow)
... AND Wait Until Keyword Succeeds ${timeout} 2s Execute ONOS CLI Command ${ONOS_SSH_IP}
... ${ONOS_SSH_PORT} volt-remove-subscriber-access ${of_id} ${onu_port}
- ... AND Sleep 10s
# Delete ONU Device (To replicate DT workflow)
... AND Delete Device ${onu_device_id}
- ... AND Sleep 5s
... ELSE
... Run Keyword If ${has_dataplane} Run Keyword And Continue On Failure
... Wait Until Keyword Succeeds 60s 2s