neutron/neutron/tests
venkata anil 20b9b89343 Fix DetachedInstanceError on subnet delete
While trying to delete subnets, some failed with DetachedInstanceError,
because 'port' is not part of 'IPAllocation' object when accessed
outside the DB session(in which 'IPAllocation' object was created).

To avoid this error, we call get_port explicitly before using the port.
This issue is not seen on master branch as recent code refactor[1] is
also calling get_port there.

[1] https://review.openstack.org/#/c/428774/

Closes-bug: #1672701
Change-Id: I924fa7e36ea9e45bf0ef3480972341a851bda86c
(cherry picked from commit b9242c348c)
2017-03-27 13:20:13 +00:00
..
common functional: Stop compiling OVS from source 2017-03-10 20:10:55 +00:00
contrib functional: Stop compiling OVS from source 2017-03-10 20:10:55 +00:00
etc Remove FWaaS policy.json entries 2016-09-06 21:30:41 +00:00
fullstack Add fullstack test with OVS arp_responder 2017-01-18 14:34:12 +00:00
functional Merge "openvswitch agent: add OVS_RESTARTED event" into stable/newton 2017-03-22 21:07:31 +00:00
retargetable Forbid importing neutron.tests.* from outside tests subtree 2016-09-20 01:43:19 +00:00
tempest Merge "Bulk creation of SecurityGroups" into stable/newton 2017-03-04 02:22:33 +00:00
unit Fix DetachedInstanceError on subnet delete 2017-03-27 13:20:13 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Allow more time for DB migration tests 2016-09-22 12:40:47 +00:00
fake_notifier.py
post_mortem_debug.py
tools.py Display deprecation warning in test only once 2017-02-02 08:34:05 +00:00