test_claim_lifecycle is racy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
I got this intermittent error:
-07-23 09:26:13.060 | pythonlogging:
2015-07-23 09:26:13.060 |
2015-07-23 09:26:13.060 | Traceback (most recent call last):
2015-07-23 09:26:13.060 | File "zaqar/
2015-07-23 09:26:13.060 | self.assertEqua
2015-07-23 09:26:13.060 | File "/home/
2015-07-23 09:26:13.061 | self.assertThat
2015-07-23 09:26:13.061 | File "/home/
2015-07-23 09:26:13.061 | raise mismatch_error
2015-07-23 09:26:13.061 | testtools.
5-07-23 09:26:13.061 | reference = [{'age': 0,
2015-07-23 09:26:13.061 | 'body': {u'event': u'Event number 0'},
2015-07-23 09:26:13.061 | 'claim_id': '55b0b3345c18f8
2015-07-23 09:26:13.061 | 'id': '55b0b3345c18f8
2015-07-23 09:26:13.061 | 'ttl': 120},
...
5-07-23 09:26:13.067 | actual = [{'age': 1,
2015-07-23 09:26:13.067 | 'body': {u'event': u'Event number 0'},
2015-07-23 09:26:13.067 | 'claim_id': '55b0b3345c18f8
2015-07-23 09:26:13.068 | 'id': '55b0b3345c18f8
2015-07-23 09:26:13.068 | 'ttl': 120}
Age was bumped from 0 to 1 between to the 2 asserts, so probably an extra slow slave? It's worth removing it I think.
Changed in zaqar: | |
assignee: | nobody → Thomas Herve (therve) |
Changed in zaqar: | |
milestone: | none → liberty-rc1 |
importance: | Undecided → Medium |
Changed in zaqar: | |
status: | Fix Committed → Fix Released |
Changed in zaqar: | |
milestone: | liberty-rc1 → 1.0.0 |
Fix proposed to branch: master /review. openstack. org/220521
Review: https:/