test cases in tests.storage.test_impl_mongodb are ignored

Bug #1413066 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
ZhiQiang Fan

Bug Description

# tox -epy27 -- tests.storage.test_impl_mongodb
Test id Runtime (s)
----------------------------------------------------------------------------------------- -----------
ceilometer.tests.storage.test_impl_mongodb.IndexTest.test_meter_ttl_index_absent 0.001
ceilometer.tests.storage.test_impl_mongodb.AlarmTestPagination.test_alarm_get_marker 0.001
ceilometer.tests.storage.test_impl_mongodb.AlarmTestPagination.test_alarm_get_marker_None 0.001
ceilometer.tests.storage.test_impl_mongodb.CapabilitiesTest.test_alarm_capabilities 0.001
ceilometer.tests.storage.test_impl_mongodb.MongoDBTestMarkerBase.test_get_marker_None 0.001
ceilometer.tests.storage.test_impl_mongodb.MongoDBConnection.test_replica_set 0.001
ceilometer.tests.storage.test_impl_mongodb.MongoDBTestMarkerBase.test_get_marker_multiple 0.001
ceilometer.tests.storage.test_impl_mongodb.MongoDBConnection.test_connection_pooling 0.001
ceilometer.tests.storage.test_impl_mongodb.IndexTest.test_meter_ttl_index_present 0.001
ceilometer.tests.storage.test_impl_mongodb.MongoDBConnection.test_recurse_sort_keys 0.001

Test is not applicable for sqlite

ZhiQiang Fan (aji-zqfan)
Changed in ceilometer:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/148793

Changed in ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/148793
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=ab2e697da0bee0632a04e090cf10e93963b7ef82
Submitter: Jenkins
Branch: master

commit ab2e697da0bee0632a04e090cf10e93963b7ef82
Author: ZhiQiang Fan <email address hidden>
Date: Wed Jan 21 13:12:57 2015 +0800

    enable tests.storage.test_impl_mongodb

    Currently, test cases in tests/storage/test_impl_mongodb.py are all
    ignored, since they inherit from tests.db:TestBase, which defines
    db_url only for sqlite.

    This patch adds mixed scenario tests for the ignored test cases to
    enable them on mongodb back end.

    NOTE: also fix a test case for mongodb ttl

    Change-Id: Ibb74f8455293fffa97a234264e12446e3382e57c
    Closes-Bug: #1413066

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
importance: Undecided → Medium
milestone: none → kilo-2
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.