create high-level tests for all storage drivers

Bug #1085111 reported by Doug Hellmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
High
Shane Wang

Bug Description

The API tests currently use an in-memory mongodb driver. We need a similar set of tests that can be reused to exercise all of the storage drivers that support queries (i.e., not logging). That will let us mock out the storage driver for the API tests, since we won't have to depend on those tests to exercise the storage system.

tags: added: database effort-m
Jiajun-xu (jiajun-xu)
Changed in ceilometer:
assignee: nobody → Jiajun-xu (jiajun-xu)
Revision history for this message
Shane Wang (shane-wang) wrote :

Jiajun and I are from the same team. I talked to him and I will take that.

Changed in ceilometer:
assignee: Jiajun-xu (jiajun-xu) → Shane Wang (shane-wang)
Nick Barcet (nijaba)
Changed in ceilometer:
status: New → Confirmed
importance: Undecided → High
milestone: none → grizzly-3
Revision history for this message
Julien Danjou (jdanjou) wrote :

Are you guys still planing to work on that?

Revision history for this message
Shane Wang (shane-wang) wrote :

Yes, we are still working on that. Just came back from the long vacation.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/20014
Committed: http://github.com/openstack/ceilometer/commit/83ef54a891890b82eb208be28d8790b2bbf5f74a
Submitter: Jenkins
Branch: master

commit 83ef54a891890b82eb208be28d8790b2bbf5f74a
Author: Lianhao Lu <email address hidden>
Date: Fri Jan 18 14:27:21 2013 +0800

    Higher level test for db backends.

    This patch implemented the blueprint test-db-backends, and also fixed
    the bug 1085111.

    Note: Some test cases in RawEventTest are still db backend dependendant
    due to the bug 1101100. We could move them to base class after we
    resolve that bug.

    Change-Id: Ic32a7f0719d34a008cc21ddd59c9912d9a90db24

Changed in ceilometer:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-3 → 2013.1
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.