Saggi Mizrahi has uploaded a new change for review. Change subject: Integrate zombie reaper in test framework ......................................................................
Integrate zombie reaper in test framework Some parts of VDSM count on the zombie reaper being set up. Change-Id: I74dec57129b65492d4bf41ce8fc2785d896f630e Signed-off-by: Saggi Mizrahi <[email protected]> --- M tests/testrunner.py M tests/zombieReaperTests.py 2 files changed, 3 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/38/8938/1 diff --git a/tests/testrunner.py b/tests/testrunner.py index cdbc9d3..34d09f6 100644 --- a/tests/testrunner.py +++ b/tests/testrunner.py @@ -29,6 +29,9 @@ from testValidation import SlowTestsPlugin +import zombieReaper +zombieReaper.registerSignalHandler() + PERMUTATION_ATTR = "_permutations_" diff --git a/tests/zombieReaperTests.py b/tests/zombieReaperTests.py index 6406ce3..42f3431 100644 --- a/tests/zombieReaperTests.py +++ b/tests/zombieReaperTests.py @@ -26,12 +26,6 @@ class zombieReaperTests(TestCaseBase): - def setUp(self): - zombieReaper.registerSignalHandler() - - def tearDown(self): - zombieReaper.unregisterSignalHandler() - def test(self): p = BetterPopen(["sleep", "1"]) zombieReaper.autoReapPID(p.pid) -- To view, visit http://gerrit.ovirt.org/8938 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I74dec57129b65492d4bf41ce8fc2785d896f630e Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Saggi Mizrahi <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
