Ask Your Question
0

How to run ceilometer unit test?

asked 2013-07-24 21:01:03 -0600

guangyu gravatar image

Is it to run ./run_test.sh ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-25 04:01:28 -0600

unmesh-gurjar gravatar image

Execute ./run-tests.sh to run Ceilometer unit tests.

edit flag offensive delete link more

Comments

hi, unmesh-gurjar, I execute ./run_test.sh, but got a buntch of errors: see: http://paste.openstack.org/show/41896/

guangyu gravatar imageguangyu ( 2013-07-25 21:02:14 -0600 )edit

Same question. run_tests.sh execution causes a lot of authorization errors like: http://pastebin.com/0vYAQk61 (here)

tmazur gravatar imagetmazur ( 2013-07-26 06:49:01 -0600 )edit

Hi, @tmzaur, how to set up test environment?

guangyu gravatar imageguangyu ( 2013-07-26 07:42:38 -0600 )edit

This is what I does:

   tox -e py27
   source .tox/vent/bin/active
   pip install -r requirements.txt
   pip install -r test-requirements.txt
   ./run_test.sh
is it wrong?

guangyu gravatar imageguangyu ( 2013-07-26 07:44:28 -0600 )edit

Erik, what you did looks right. Try to change python-keystoneclient requirements in ceilometer.egg-info from "python-keystoneclient>=0.2,<0.3" to "python-keystoneclient>=0.2,<0.4"

tmazur gravatar imagetmazur ( 2013-07-29 03:14:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-24 21:01:03 -0600

Seen: 312 times

Last updated: Jul 25 '13