allowing for "occasional" subscriber status
Change-Id: I32304f194ad1ae8991ff95e325b135dff8b5b396
diff --git a/src/test/cord-api/Framework/Subscriber.robot b/src/test/cord-api/Framework/Subscriber.robot
index 0b239a8..6040a67 100644
--- a/src/test/cord-api/Framework/Subscriber.robot
+++ b/src/test/cord-api/Framework/Subscriber.robot
@@ -60,9 +60,9 @@
Should Be True ${api_result}
Validate Subscriber Status
- [Arguments] ${exepected_status} ${onu_device}
+ [Arguments] ${expected_status} ${onu_device} ${accepted_status}=${EMPTY}
${status} Subscriber Status Check ${onu_device}
- Should Be Equal ${status} ${exepected_status}
+ Run Keyword If '${accepted_status}' == '${EMPTY}' Should Be Equal ${status} ${expected_status} ELSE Should Contain Any ${status} ${expected_status} ${accepted_status}
Send EAPOL Message
[Arguments] ${iface} ${conf_file} ${ip} ${user} ${pass}=${None} ${container_type}=${None} ${container_name}=${None}
diff --git a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
index b497af9..0188169 100644
--- a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
+++ b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
@@ -213,13 +213,14 @@
... Validate failed authentication/DHCP/E2E ping
[Tags] stable latest test7
[Setup] Simple Setup
+ Wait Until Keyword Succeeds 60s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Create Subscriber
Wait Until Keyword Succeeds 60s 15s Validate ONU States UNKNOWN DISABLED ${onu_device}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI DISABLED AWAITING ${onu_device}
- Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
+ Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device} pre-provisioned
Validate Authentication False eth0 wpa_supplicant.conf ${kube_node_ip} ${local_user} ${local_pass} K8S ${RG_CONTAINER}
Wait Until Keyword Succeeds 60s 2s Validate ATT Workflow Driver SI DISABLED AWAITING ${onu_device}
- Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device}
+ Wait Until Keyword Succeeds 60s 2s Validate Subscriber Status awaiting-auth ${onu_device} pre-provisioned
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Service Chain ${onu_device} False
Wait Until Keyword Succeeds 60s 2s Validate Fabric CrossConnect SI ${s_tag} False
Validate DHCP and Ping False False eth0 ${s_tag} ${c_tag} ${dst_host_ip} ${kube_node_ip} ${local_user} ${local_pass} K8S ${RG_CONTAINER}