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.
Reviewed: https:/ /review. openstack. org/299788 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=7175fdef97d 8d2d18c0f71f3c0 89fa5341b73d9e
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 7175fdef97d8d2d 18c0f71f3c089fa 5341b73d9e
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.
Conflicts: tests/functiona l/agent/ linux/helpers. py
neutron/
Change-Id: I97aeb8d1d5773e f3d59e8f908aea3 4ccceb38378 1b50bb38f3d01fc e0f1497f39)
Related-Bug: 1561046
(cherry picked from commit 2690eed19a749fb