def test_wait_for_service_stop(self):
        result = main_for_service(self.reactor, AsyncStopService(Deferred()))
        self._shutdown_reactor(self.reactor)
        self.assertNoResult(result)
The ``Deferred`` returned by ``main_for_service`` does not fire before
dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_script.py/MainForServiceTests.test_wait_for_service_stop