[ovs-dev] [PATCH 2/2] ovs-dev.py: Run tests in parallel.
Lori Jakab
lojakab at cisco.com
Mon May 19 07:53:34 UTC 2014
On 5/19/14, 10:13 AM, YAMAMOTO Takashi wrote:
>> Signed-off-by: Joe Stringer <joestringer at nicira.com>
>> ---
>> utilities/ovs-dev.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py
>> index 97fab6c..d979afd 100755
>> --- a/utilities/ovs-dev.py
>> +++ b/utilities/ovs-dev.py
>> @@ -144,7 +144,7 @@ commands.append(make)
>>
>>
>> def check():
>> - flags = ""
>> + flags = "-j8 "
>> if options.tests:
>> flags += options.tests
>> ENV["TESTSUITEFLAGS"] = flags
>> --
>> 1.7.10.4
> -j8 seems too big to hardcode as the memory requirement of
> some tests is rather high.
Additionally, it used to trigger some race conditions for me in the
past, casing test failures that didn't occur without parallelism.
>
> (i usually don't use ovs-dev.py though)
Me either.
-Lori
>
> YAMAMOTO Takashi
More information about the dev
mailing list