← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1520850] Re: testcase fail due to value is not match

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1520850

Title:
  testcase fail due to value is not match

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1520850/+subscriptions


References