On Tue, May 08, 2018 at 09:42:07AM -0700, Han Zhou wrote:
> There are two problems in this test case that lead to occasional
> failures.
> 
> Firstly, hv1_uuid or hv2_uuid could be empty because they
> may be assigned before SB is updated, so adding ovn-sbctl wait-until
> fixes it.
> 
> Secondly, when port-binding chassis is queried from SB,
> it could be in the transient state - updated by the releasing chassis
> to empty, but not yet updated by the requested chassis to the new
> uuid. Although it is retried by OVS_WAIT_UNTIL, an empty string leads
> to syntax error of the "test ... = ..." command and errors out immediately
> in that case. So adding prefix "x" to both side of the test command
> fixes it.
> 
> Signed-off-by: Han Zhou <[email protected]>

Thanks, applied to master.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to