commit 9f37e22c4791de6e0788742fed4f657c626b98d5
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 13 18:09:55 2013 +0200
Remove the mongo auth warning during tests
pymongo print a warning on each mongodb connection because the url used
in tests don't have credentials, since all mongodb tests are running in
a different mongodb databases, this print many annoying line like this one:
UserWarning: database name or authSource in URI is being ignored. If you
wish to authenticate to ceilometer_90d94586954643e8811d5ecc6bacf912, you
must provide a username and password.
Reviewed: https:/ /review. openstack. org/41719 github. com/openstack/ ceilometer/ commit/ 9f37e22c4791de6 e0788742fed4f65 7c626b98d5
Committed: http://
Submitter: Jenkins
Branch: master
commit 9f37e22c4791de6 e0788742fed4f65 7c626b98d5
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 13 18:09:55 2013 +0200
Remove the mongo auth warning during tests
pymongo print a warning on each mongodb connection because the url used
in tests don't have credentials, since all mongodb tests are running in
a different mongodb databases, this print many annoying line like this one:
UserWarning: database name or authSource in URI is being ignored. If you 90d94586954643e 8811d5ecc6bacf9 12, you
wish to authenticate to ceilometer_
must provide a username and password.
This change suppress this line during testing.
Fixes bug #1210674
Change-Id: Iecabca621c2fba f15e644f2fca66b 4e3b5bd04e7