Update onu_reason field to include tech-profile-config-downloaded-success state for Validate Device keyword
Change-Id: Ie894921633b49bbce2577b960a226d1cd53d8212
diff --git a/tests/dt-workflow/Voltha_DT_PODTests.robot b/tests/dt-workflow/Voltha_DT_PODTests.robot
index fcbba0a..bdb8f38 100644
--- a/tests/dt-workflow/Voltha_DT_PODTests.robot
+++ b/tests/dt-workflow/Voltha_DT_PODTests.robot
@@ -350,13 +350,14 @@
[Setup] Start Logging DisableDeleteONUOLTDt
[Teardown] Run Keywords Collect Logs
... AND Stop Logging DisableDeleteONUOLTDt
+ @{onu_reason}= Create List initial-mib-downloaded omci-flows-pushed
FOR ${I} IN RANGE 0 ${num_all_onus}
${src}= Set Variable ${hosts.src[${I}]}
${dst}= Set Variable ${hosts.dst[${I}]}
${onu_device_id}= Get Device ID From SN ${src['onu']}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate Device ENABLED ACTIVE
- ... REACHABLE ${src['onu']} onu=True onu_reason=omci-flows-pushed
+ ... REACHABLE ${src['onu']} onu=True onu_reason=${onu_reason}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate OLT Device ENABLED ACTIVE
... REACHABLE ${src['olt']}
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index dbd8462..008da22 100644
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -401,6 +401,7 @@
[Teardown] Run Keywords Collect Logs
... AND Stop Logging DisableDeleteONUandOLT
#${olt_device_id}= Get Device ID From SN ${olt_serial_number}
+ @{onu_reason}= Create List tech-profile-config-downloaded-success omci-flows-pushed
FOR ${I} IN RANGE 0 ${num_all_onus}
${src}= Set Variable ${hosts.src[${I}]}
${dst}= Set Variable ${hosts.dst[${I}]}
@@ -408,7 +409,7 @@
${onu_device_id}= Get Device ID From SN ${src['onu']}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds 360s 5s
... Validate Device ENABLED ACTIVE
- ... REACHABLE ${src['onu']} onu=True onu_reason=omci-flows-pushed
+ ... REACHABLE ${src['onu']} onu=True onu_reason=${onu_reason}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Validate OLT Device ENABLED ACTIVE
... REACHABLE ${src['olt']}