yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42503
[Bug 1506482] Re: neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnDatabase.test_list_endpoint_groups fails due to ordering issue
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1506482
Title:
neutron_vpnaas.tests.unit.db.vpn.test_vpn_db.TestVpnDatabase.test_list_endpoint_groups
fails due to ordering issue
Status in neutron:
Fix Released
Bug description:
Sometimes the test fails with the following traceback:
Traceback (most recent call last):
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1900, in test_list_endpoint_groups
group_id2 = self.helper_create_endpoint_group(info2)
File "neutron_vpnaas/tests/unit/db/vpn/test_vpn_db.py", line 1830, in helper_create_endpoint_group
self.assertDictSupersetOf(info['endpoint_group'], actual)
File "/home/vagrant/git/neutron-vpnaas/.tox/py27/src/neutron/neutron/tests/base.py", line 231, in assertDictSupersetOf
{'key': k, 'exp': v, 'act': actual_superset[k]})
File "/home/vagrant/git/neutron-vpnaas/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/vagrant/git/neutron-vpnaas/.tox/py27/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = ['a00562c1-9340-4a36-8111-2885273499e6',
'1f23e0ab-ddbd-4788-979a-ccbc1f1c787a']
actual = ['1f23e0ab-ddbd-4788-979a-ccbc1f1c787a',
u'a00562c1-9340-4a36-8111-2885273499e6']
: Key endpoints expected: ['a00562c1-9340-4a36-8111-2885273499e6', '1f23e0ab-ddbd-4788-979a-ccbc1f1c787a'], actual ['1f23e0ab-ddbd-4788-979a-ccbc1f1c787a', u'a00562c1-9340-4a36-8111-2885273499e6']
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1506482/+subscriptions
References