Comment 8 for bug 983800

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (stable/essex)

Reviewed: https://review.openstack.org/7481
Committed: http://github.com/openstack/keystone/commit/f70505ced12ae7319dedaf75bedb964c7469c6dd
Submitter: Jenkins
Branch: stable/essex

commit f70505ced12ae7319dedaf75bedb964c7469c6dd
Author: Mark McLoughlin <email address hidden>
Date: Tue Apr 10 13:35:30 2012 +0100

    Fix expired token tests

    Fixes bug #983800

    The expiration timestamps are expressed in UTC time, so ensure:

     1) The timestamp of the token created by the test is UTC time (i.e.
        utcnow() vs now())

     2) The expiration check in the dummy memcache client properly
        accounts for UTC (i.e. utctimetuple() vs timetuple())

    Change-Id: Ie7356456f79ab5a8070a79771bb7d210b1cedd47