Updated verification that disabled olt device should only have default flows
Change-Id: I0421d4139ab4b16f74fc9816bf2a55148d18ca71
diff --git a/tests/dt-workflow/Voltha_DT_PODTests.robot b/tests/dt-workflow/Voltha_DT_PODTests.robot
index 4010aed..4ece40e 100755
--- a/tests/dt-workflow/Voltha_DT_PODTests.robot
+++ b/tests/dt-workflow/Voltha_DT_PODTests.robot
@@ -279,7 +279,8 @@
... Verify Subscriber Access Flows Added Count DT ${ONOS_SSH_IP} ${ONOS_SSH_PORT}
... ${of_id} 0
# Verify VOLTHA Flows
- Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 0
+ # OLT should only have 1 default flow for LLDP
+ Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 1
... ${olt_device_id}
${List_ONU_Serial} Create List
Set Suite Variable ${List_ONU_Serial}
diff --git a/tests/tt-workflow/Voltha_TT_PODTests.robot b/tests/tt-workflow/Voltha_TT_PODTests.robot
index 8084f95..6576539 100755
--- a/tests/tt-workflow/Voltha_TT_PODTests.robot
+++ b/tests/tt-workflow/Voltha_TT_PODTests.robot
@@ -139,11 +139,11 @@
Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate ONUs After OLT Disable
... ${num_onus} ${olt_serial_number}
# Verify ONOS Flows
- # When we disable the device we shouldn't have any flows provisioned on it
+ # When we disable the device should only have 3 default flows LLDP, IGMP and DHCP
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
- ... Verify Added Flow Count for OLT TT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} 0
+ ... Verify Added Flow Count for OLT TT ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} 3
# Verify VOLTHA Flows
- Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 0
+ Run Keyword Wait Until Keyword Succeeds ${timeout} 5s Validate OLT Flows 3
... ${olt_device_id}
# Delete OLT and Validate Empty Device List
Delete Device ${olt_device_id}