Inconclusive test glance.tests.functional.test_bin_glance_cache_manage:TestBinGlanceCacheManage.test_cache_index when local timezone is not UTC

Bug #1133113 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Triaged
High
Unassigned

Bug Description

Running glance.tests.functional.test_bin_glance_cache_manage:TestBinGlanceCacheManage.test_cache_index on a machine who's timezone is not UTC can cause a false negative. For example, my timezone is set to PST, so for the last 8 hours of the day this test fails. The assertion in the test looks for the local date in the output of 'glance-cache-manage list-cached':

Found 1 cached images...
ID Last Accessed (UTC) Last Modified (UTC) Size Hits
------------------------------------ ------------------- ------------------- -------------- ----------
be3074f1-a062-4981-ab64-72ff1392636c N/A 2013-02-26T04:07:39 5120 0

My local date happens to be '2013-02-25', which is not the '2013-02-26' found in the command's output.

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.