[openstack-dev] [trove] timeouts in gate-trove-python34-db

Victor Stinner vstinner at redhat.com
Mon May 16 11:20:00 UTC 2016


Le 09/05/2016 16:38, Amrith Kumar a écrit :
> So I’m able to run the py34 tests in about 10s if I run the dangling
> mock detector with a depth of 0 or 1.

IMHO the strange mock detector code must be removed. It is very slow and 
I don't understand its purpose.

The mock module has a nice stop_all() method, why not using it?

The fixtures and oslotest modules also help to stop mocks.

(I don't know if the "mock detector" thing is related to the slow tests 
on Python 3.)


More information about the OpenStack-dev mailing list