]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add a netns-cleanup functional test
authorMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 12 Mar 2015 14:58:39 +0000 (14:58 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Fri, 13 Mar 2015 17:14:37 +0000 (17:14 +0000)
commit042aae6dd993f4a95ccac8874a45873b75cfe4fc
tree8ce9695db1ba3c76a1465dc925e43f58693f1218
parent59137d0ede2db20c4218e98a66a246f055451dc2
Add a netns-cleanup functional test

We have lots of regressions on netns, because unit test
is not enough. This commit adds basic functional testing
to the netns_cleanup.

This work should be extended when we have functional testing
for the dhcp agent, spawning dhcp services, and then
making sure they're fully cleaned up.

Change-Id: I0b5125dfa24a3dbcd44593ae2aee4dbbd47def67
neutron/cmd/netns_cleanup.py
neutron/tests/functional/agent/linux/base.py
neutron/tests/functional/cmd/__init__.py [new file with mode: 0644]
neutron/tests/functional/cmd/test_netns_cleanup.py [new file with mode: 0755]