def tearDown(self):
     yield self.wait_for(self.agency.is_idle, 20)
     yield self.agency.shutdown(stop_process=False)
     yield FullIntegrationTest.tearDown(self)
     pid = run.get_pid(os.path.curdir)
     if pid is not None:
         run.signal_pid(pid, signal.SIGUSR2)
Exemplo n.º 2
0
 def _sigusr1_process(self):
     pid = run.wait_pidfile(os.path.curdir, "dummy_process")
     run.signal_pid(pid, 10)