Avoid checking the Defualt meter if the subscriber is provision (there is no guarantee it will be there)
Change-Id: I747d7353f21cf85c96df0dd109bb8a245894184b
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 26b8c50..61117a1 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -221,8 +221,9 @@
# Check ONU port is Enabled in ONOS
Wait Until Keyword Succeeds 120s 2s
... Verify UNI Port Is Enabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${src['onu']} ${src['uni_id']}
- # Verify Default Meter in ONOS (valid only for ATT)
- Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
+ # Verify Default Meter in ONOS (valid only for ATT and only if subscriber is not provisioned)
+ Run Keyword Unless ${supress_add_subscriber}
+ ... Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 5s
... Verify Default Meter Present in ONOS ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id}
# Verify default EAPOL flows are added for the ONU port
Run Keyword Unless ${supress_add_subscriber}