incresed more time before delete olt
Signed-off-by: rbodapat <ramakrishna.bodapati@radisys.com>
Change-Id: Ia4925779cbb9223de0541fb7cb6f4e538be57864
diff --git a/VERSION b/VERSION
index 39716cb..3487c87 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.13.0-dev4
+2.13.0-dev5
diff --git a/libraries/onu_utilities.robot b/libraries/onu_utilities.robot
index 5a481db..c4c16b3 100755
--- a/libraries/onu_utilities.robot
+++ b/libraries/onu_utilities.robot
@@ -179,7 +179,11 @@
${openonu_ready_ts}= Get Pod Ready Timestamp by Label ${namespace} app adapter-open-onu
${restart_duration}= Subtract Date From Date ${openonu_ready_ts} ${previous_ready_ts}
Should Be True ${restart_duration}>0
- Sleep 20s
+ # "Once the onu adapter is restarted, it takes a bit of time for the ONUs to reconcile, if the OLT is deleted before
+ # the ONUs are reconiled successfully there would be stale entries. This scenario is not handled in VOLTHA as of now.
+ # And there is no other to check if the reconcile has happened for all the ONUs. Due to this limitations a sleep
+ # of 60s is introduced to give enough time for onu adapter to reconcile the ONUs."
+ Sleep 60s
# delete the olt passed, if available (special feature)
${olt_to_be_deleted_device_id}= Run Keyword IF "${olt_to_be_deleted_sn}"!="${EMPTY}"
... Get OLTDeviceID From OLT List ${olt_to_be_deleted_sn}