Race condition in unit.test_commands.TestCreateTokenCommand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I get test failures from unit.test_
=======
FAIL: test_create_
-------
Traceback (most recent call last):
File "/root/
str(None), self.tomorrow])
File "/root/
self.
AssertionError: Lists differ: ['96d218ac8e154
First differing element 3:
2012-01-26T15:39
2012-01-26T15:40
- ['96d218ac8e154
+ [u'96d218ac8e15
? +
- '30427734c23942
+ u'30427734c2394
? +
- 'None',
+ u'None',
? +
- '2012-01-26T15:39']
? ^^
+ u'2012-
? + ^^
=======
This seems to be a race-condition. The above test run was started at 15:39:59 but the create_token command was run on 15:40:00. Because of this timestamp in the token datebase doesn't match the expected value.
I'll try to come up with a patch.
Changed in keystone: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Fix proposed to branch: milestone-proposed /review. openstack. org/3410
Review: https:/