]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Modify ipset functional tests to pass on older machines
authorAssaf Muller <amuller@redhat.com>
Fri, 29 May 2015 23:17:34 +0000 (19:17 -0400)
committerIhar Hrachyshka <ihrachys@redhat.com>
Wed, 3 Jun 2015 10:57:46 +0000 (12:57 +0200)
commit5407a42aba863da084ed63b532830016c9fadda7
treef69311488fcfe2df05893e70b196148c1e2eb311
parenta27a1892f6fa7382000bf87ca5408afdbb263996
Modify ipset functional tests to pass on older machines

Production code uses ipset exclusively in the root namespace,
however functional testing uses ipset in namespace for isolation.
This poses an issue as ipset is not supported in namespaces on
all kernels and distributions (I'm looking at you CentOS/RHEL 7.1).

This patch changes the ipset functional tests to work in the root
namespace while taking care of cleanups.

Conflicts:
neutron/tests/functional/agent/linux/test_ipset.py

Change-Id: I08b2f59197ed76e59b2e58b5a10820653e857cda
Closes-Bug: #1460220
(cherry picked from commit 96e2314c8c0f06967b53828b0a771973f0031243)
neutron/tests/functional/agent/linux/test_ipset.py