fixed issues in tests and enable new test on nightly builds
Change-Id: I7496754286e8632c8e88ab95929a658d18467128
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index 70d16a0..0cbddbd 100644
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -327,9 +327,10 @@
... This TC is to confirm that ONU removal is not impacting OLT
... Devices will be removed during the execution of this TC
... so calling setup at the end to add the devices back to avoid the confusion.
- [Tags] VOL-2354 DisableDeleteONUandOLT notready
+ [Tags] functional VOL-2354 DisableDeleteONUandOLT
[Setup] NONE
[Teardown] None
+ ${olt_device_id}= Get Device ID From SN ${olt_serial_number}
FOR ${I} IN RANGE 0 ${num_onus}
${src}= Set Variable ${hosts.src[${I}]}
${dst}= Set Variable ${hosts.dst[${I}]}
@@ -354,8 +355,8 @@
${src}= Set Variable ${hosts.src[${I}]}
${dst}= Set Variable ${hosts.dst[${I}]}
${onu_device_id}= Get Device ID From SN ${src['onu']}
- Wait Until Keyword Succeeds ${timeout} 5s Validate Device DISABLED DISCOVERED
- ... UNREACHABLE ${src['onu']} onu=false
+ Wait Until Keyword Succeeds ${timeout} 5s Validate Device DISABLED UNKNOWN
+ ... REACHABLE ${src['onu']} onu=false
${rc} ${output}= Run and Return Rc and Output ${VOLTCTL_CONFIG}; voltctl device delete ${onu_device_id}
Should Be Equal As Integers ${rc} 0
Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Device DISABLED UNKNOWN