Extracting the test fixture that creates a new process and leaves it
running for a given amount of time into helpers where other fixtures for
functional tests live. This both keeps the fixtures at one place and
increases visibility of the fixture so that it can be reused in other
tests. At the same time, the fixture is fixed as the original code
omitted starting the process.
Compared to upstream commit, the fixture in test_keepalived was adjusted
for kilo's version of fixtures package.
Reviewed: https:/ /review. openstack. org/299784 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9d483ee8166 b4bed9b1c0d3e78 f951a2e22a6f6a
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 9d483ee8166b4be d9b1c0d3e78f951 a2e22a6f6a
Author: Hynek Mlnarik <email address hidden>
Date: Wed Mar 30 10:44:09 2016 +0200
Refactor and fix dummy process fixture
Extracting the test fixture that creates a new process and leaves it
running for a given amount of time into helpers where other fixtures for
functional tests live. This both keeps the fixtures at one place and
increases visibility of the fixture so that it can be reused in other
tests. At the same time, the fixture is fixed as the original code
omitted starting the process.
Compared to upstream commit, the fixture in test_keepalived was adjusted
for kilo's version of fixtures package.
Conflicts:
neutron/ tests/functiona l/agent/ linux/helpers. py
neutron/ tests/functiona l/agent/ linux/test_ keepalived. py
Change-Id: I97aeb8d1d5773e f3d59e8f908aea3 4ccceb38378 1b50bb38f3d01fc e0f1497f39)
Related-Bug: 1561046
(cherry picked from commit 2690eed19a749fb