Fix TC02 test case in mgmt-cfg-int-subint-apihc-apivat-func 72/13172/2
authorMichal Cmarada <michal.cmarada@pantheon.tech>
Thu, 21 Jun 2018 08:17:40 +0000 (10:17 +0200)
committerJan Gelety <jgelety@cisco.com>
Thu, 21 Jun 2018 11:33:34 +0000 (11:33 +0000)
Add wait for interface to be up, because it
takes some time while the interface state changes.

Change-Id: I895dea1017ac0ffd099e80d9edca0f1d127657dd
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
tests/honeycomb/func/mgmt-cfg-int-subint-apihc-apivat-func.robot

index 93362ff..af32b6b 100644 (file)
@@ -17,6 +17,7 @@
 | Resource | resources/libraries/robot/honeycomb/sub_interface.robot
 | Resource | resources/libraries/robot/honeycomb/bridge_domain.robot
 | Resource | resources/libraries/robot/honeycomb/interfaces.robot
+| Library | resources.libraries.python.InterfaceUtil
 | Variables | resources/test_data/honeycomb/sub_interfaces.py
 | ...
 | Suite Setup | Set Up Honeycomb Functional Test Suite | ${node}
@@ -73,6 +74,7 @@
 | | ... | ${node} | ${super_if} | up
 | | When Honeycomb sets the sub-interface up
 | | ... | ${node} | ${super_if} | ${sub_if_id}
+| | Vpp Node Interfaces Ready Wait | ${node}
 | | Then Sub-interface state from Honeycomb should be
 | | ... | ${node} | ${super_if} | ${sub_if_id} | up | up
 | | And sub-interface state from VAT should be

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.