From 564ad295af30cbf1b92476992ad2520da7806bbe Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 3 Sep 2010 23:25:24 -0700 Subject: [PATCH] In the short timeout test for QueueScheduler.run(), assert that the subprocess has stopped. --- pym/portage/tests/ebuild/test_ipc_daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/tests/ebuild/test_ipc_daemon.py b/pym/portage/tests/ebuild/test_ipc_daemon.py index 3298040a8..caf54c9b9 100644 --- a/pym/portage/tests/ebuild/test_ipc_daemon.py +++ b/pym/portage/tests/ebuild/test_ipc_daemon.py @@ -103,6 +103,7 @@ class IpcDaemonTestCase(TestCase): self.assertEqual(self.received_command, False, "command received after %d seconds" % \ (time.time() - start_time,)) + self.assertEqual(proc.isAlive(), False) self.assertEqual(proc.returncode == os.EX_OK, False) finally: -- 2.26.2