[openstack-dev] [Ceilometer] Why ceilometer do not offer run_tests.sh script?

Lu, Lianhao lianhao.lu at intel.com
Wed Apr 29 02:18:38 UTC 2015


On Apr 29, 2015 09:49, Luo Gangyi wrote:
> Hi guys,
> 
> When I try to run unit tests of ceilometer, I find there is no 
> run_tests.sh script offers.
> 
> And when I use tox directly, I got a message ' 'Could not find mongod 
> command'.

Please use setup-test-env-mongodb.sh instead. See tox.ini for details.

> So another question is why unit tests needs mongo?

It's used for the scenario tests on different db backend. Will be moved into functional test though. https://review.openstack.org/#/c/160827/ 

> Can someone give me some hint?

-Lianhao Lu



More information about the OpenStack-dev mailing list