group by statistics storage tests are missing timestamp filtering test cases

Bug #1224305 reported by Terri Yu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Terri Yu

Bug Description

The group by statistics storage tests in tests/storage/test_storage_scenarios.py currently don't test timestamp filtering. These test cases should be added.

Terri Yu (terriyu)
description: updated
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/46206

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

Reviewed: https://review.openstack.org/46206
Committed: http://github.com/openstack/ceilometer/commit/127be136080c158ea069f08887c2ec3c30543fde
Submitter: Jenkins
Branch: master

commit 127be136080c158ea069f08887c2ec3c30543fde
Author: Terri Yu <email address hidden>
Date: Thu Sep 12 07:13:43 2013 +0000

    Add timestamp filtering cases in storage tests

    Fixes bug #1224305

    The group by statistics storage tests don't have any test cases for
    timestamp filtering.

    The group by statistics API tests already have test cases for
    timestamp filtering with the same test database, so these test cases
    are simply copied over to the storage tests.

    The added test cases are group by

    a) single field with start timestamp after all samples
    b) single field with end timestamp before all samples
    c) single field with start timestamp
    d) single field with end timestamp
    e) single field with start and end timestamps
    f) single field with start and end timestamps and query filter
    g) single field with start and end timestamps and period
    h) single field with start and end timestamps, query filter, and period

    Change-Id: I2896e6bcdca5a87b9ce4262599e77832274943b4

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-rc1 → 2013.2
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.