This patch fixes the time issue in the test case so that when external-ids is updated in Open_vSwitch OVSDB, give some time for SB OVSDB to get updated by ovn-controller.
Signed-off-by: Han Zhou <hzh...@ebay.com> --- tests/ovn-controller.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at index 3244707..a51f79e 100644 --- a/tests/ovn-controller.at +++ b/tests/ovn-controller.at @@ -62,6 +62,7 @@ check_patches # Configure two ovn-bridge mappings, but no patch ports should be created yet AT_CHECK([ovs-vsctl set Open_vSwitch . external-ids:ovn-bridge-mappings=physnet1:br-eth0,physnet2:br-eth1]) +sleep 1 check_bridge_mappings "physnet1:br-eth0,physnet2:br-eth1" check_patches @@ -109,6 +110,7 @@ check_patches \ # Delete the mapping and the ovn-bridge-mapping patch ports should go away. AT_CHECK([ovs-vsctl remove Open_vSwitch . external-ids ovn-bridge-mappings]) +sleep 1 check_bridge_mappings check_patches -- 2.1.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev