DBusTestCase.spawn_server() says spawned daemon will exit when bus closes, but process is left behind

Bug #1156561 reported by James Henstridge on 2013-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dbusmock
Medium
Unassigned

Bug Description

The docstring for DBusTestCase.spawn_server() says:

        The daemon will terminate automatically when the D-BUS that it connects
        to goes down. If that does not happen (e. g. you test on the actual
        system/session bus), you need to kill it manually.

However the daemon process appears to stick around once the test suite completes, even though the temporary bus it was connected to has shut down.

Martin Pitt (pitti) on 2013-03-20
Changed in python-dbusmock:
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti) wrote :
Changed in python-dbusmock:
assignee: Martin Pitt (pitti) → nobody
importance: Undecided → Medium
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

Fix included in the 0.6 release which I just pushed out.

Changed in python-dbusmock:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers