The testcase fail occasionally, since the value got from DB or cache is not always match with the sequence of when the value is created.
2015-11-25 22:03:50.819 | Captured traceback:
2015-11-25 22:03:50.819 | ~~~~~~~~~~~~~~~~~~~
2015-11-25 22:03:50.819 | Traceback (most recent call last):
2015-11-25 22:03:50.819 | File "keystone/tests/unit/core.py", line 205, in inner
2015-11-25 22:03:50.819 | return f(*args, **kwargs)
2015-11-25 22:03:50.819 | File "keystone/tests/unit/test_associate_project_endpoint_extension.py", line 319, in test_create_endpoint_project_association_invalidates_cache
2015-11-25 22:03:50.820 | self.assertEqual(self.endpoint_id, catalog[0]['endpoints'][0]['id'])
2015-11-25 22:03:50.820 | File "/home/jenkins/workspace/gate-keystone-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
2015-11-25 22:03:50.820 | self.assertThat(observed, matcher, message)
2015-11-25 22:03:50.820 | File "/home/jenkins/workspace/gate-keystone-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
2015-11-25 22:03:50.820 | raise mismatch_error
2015-11-25 22:03:50.820 | testtools.matchers._impl.MismatchError: '4ab46d1c529448e0a83818993e6355d2' != u'76b8e0d840c6480a89200cd10dac3de3'
Fix proposed to branch: master /review. openstack. org/251060
Review: https:/