[ovs-dev] [PATCH v2] ofproto-dpif: Always wait for ovs-ofctl exit in test-suite

YAMAMOTO Takashi yamamoto at valinux.co.jp
Tue Apr 8 01:20:54 UTC 2014


> On Tue, Apr 08, 2014 at 10:00:47AM +0900, YAMAMOTO Takashi wrote:
>> > Uniformly wait for calls to ovs-ofctl exit using
>> > OVS_APP_EXIT_AND_WAIT() in the test-suite.
>> 
>> are they all necessary to avoid some races?
>> 
>> in commit 0c473314, i intended to make it wait only when necessary.
>> ie. only tests which have multiple "ovs-ofctl --pidfile".
> 
> Ok, understood.
> 
> This patch did not aim to address any problems that I had observed.
> Merely to make things uniform. So I'm happy for it to be dropped
> partially or entirely.  But I am curious to know how you determine if
> waiting is necessary.

i observed test failures due to this.  ovs-ofctl complained there's
a pid file already.
i have no mechanical way to find out where it's necessary.
just reading the tests.
(so it's quite possible i missed some places.)

YAMAMOTO Takashi



More information about the dev mailing list