This commit fixes the intermittent failure of test (ofproto-dpif,
balance-tcp bonding, different recirc flow), by waiting for all
bond interfaces to be enabled.
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
AT_CHECK([ovs-appctl netdev-dummy/set-admin-state up], 0, [OK
])
+# Waits for all ifaces enabled.
+OVS_WAIT_UNTIL([test `ovs-appctl bond/show | grep -- "may_enable: true" | wc -l` -ge 4])
+
# The dl_vlan flow should not be ever matched,
# since recirculation should not change the flow handling.
AT_DATA([flows.txt], [dnl