'glance-cache-manage list-cached' 'last modified' fields displayed in UTC but test uses local timezone

Bug #1139131 reported by Brian Lamar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Brian Lamar
Grizzly
Fix Released
High
Brian Lamar

Bug Description

glance.tests.functional.test_bin_glance_cache_manage.TestBinGlanceCacheManage.test_cache_index

This test is failing because the test is generating a date in the local timezone and the "Last Modified" date is in UTC.

Output of test failing: http://paste.openstack.org/show/32714/

Brian Lamar (blamar)
Changed in glance:
assignee: nobody → Brian Lamar (blamar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

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

Reviewed: https://review.openstack.org/23335
Committed: http://github.com/openstack/glance/commit/6a7ae170e2e9c8e5d187b094d487c65a011cc02c
Submitter: Jenkins
Branch: master

commit 6a7ae170e2e9c8e5d187b094d487c65a011cc02c
Author: Brian Lamar <email address hidden>
Date: Fri Mar 1 22:51:35 2013 -0500

    Test date with UTC instead of local timezone.

    iso_format test uses local timezone so it can fail at certain times
    of the day depending on which timezone the tests are run in.

    Fixes bug 1139131

    Change-Id: I8fe423d96c438b46a9307fe1ecf648707183ff1c

Changed in glance:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon)
Changed in glance:
importance: Undecided → High
milestone: none → grizzly-rc1
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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