Properly wait for chassis to be added before
getting the id.

Signed-off-by: Ales Musil <[email protected]>
---
 tests/ovn-controller.at | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index 159e66461..597aed00b 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -2540,6 +2540,7 @@ ovs-vsctl add-br br-phys
 ovn_attach n1 br-phys 192.168.0.1
 
 ovn-nbctl --wait=sb sync
+wait_row_count Chassis 1 name=hv1
 
 chassis_id=$(fetch_column Chassis _uuid name=hv1)
 check ovn-sbctl set chassis $chassis_id other_config:unsupported="value"
-- 
2.39.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to