From 6eaf7e4c2f52274e5d84e45e50ee0d0b33b1eae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pertti=20Kellom=C3=A4ki?= Date: Wed, 19 Jan 2011 11:59:09 +0200 Subject: [PATCH] Changes: Modify test_restart_booster to test for booster-d. --- tests/Harmattan/TestScripts/test-func-launcher.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/Harmattan/TestScripts/test-func-launcher.py b/tests/Harmattan/TestScripts/test-func-launcher.py index 509203e..e8639db 100644 --- a/tests/Harmattan/TestScripts/test-func-launcher.py +++ b/tests/Harmattan/TestScripts/test-func-launcher.py @@ -372,10 +372,14 @@ class launcher_tests (unittest.TestCase): mpid = get_pid('booster-m') self.assert_(mpid != None, "No booster process running") + dpid = get_pid('booster-d') + self.assert_(dpid != None, "No booster process running") + #Kill the booster processes debug("Kill the booster processes") kill_process(apppid=qpid) kill_process(apppid=mpid) + kill_process(apppid=dpid) #wait for the boosters to be restarted debug("wait for the boosters to be restarted") @@ -391,6 +395,10 @@ class launcher_tests (unittest.TestCase): self.assert_(mpid_new != None, "No booster process running") self.assert_(mpid_new != mpid, "booster process was not killed") + dpid_new = get_pid('booster-d') + self.assert_(dpid_new != None, "No booster process running") + self.assert_(dpid_new != dpid, "booster process was not killed") + def test_invoker_exit_status(self): """ To test that invoker returns the same exit status as the application