[ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

Ben Pfaff blp at nicira.com
Thu Apr 2 19:58:37 UTC 2015


On Thu, Apr 02, 2015 at 03:57:20PM -0300, Flavio Leitner wrote:
> The ofproto-dpif creates dummies backed by sockets so depending
> on the order of execution when bridge is reconfiguring, an active
> socket may run first and not find the file.  That is usually not a
> problem because it will try to reconnect one second later. However,
> it breaks the testsuite.
> 
> This patch fixes the issue splitting active and passive sockets in
> different vsctl-ctl commands that guarantees the proper ordering
> between them.

WAIT_FOR_DUMMY_PORTS is supposed to avoid this problem, by waiting
until the ports have connected.  Is it busted?



More information about the dev mailing list