From d56fdb60e2cc53a5a211fc4cdc0e4853404d1ff1 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Tue, 2 Jun 2009 18:23:49 -0700 Subject: [PATCH] Fixed test_saranwrap --- greentest/saranwrap_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/greentest/saranwrap_test.py b/greentest/saranwrap_test.py index 0109c05..d6ad3c8 100644 --- a/greentest/saranwrap_test.py +++ b/greentest/saranwrap_test.py @@ -343,6 +343,7 @@ sys_path = sys.path""") pid = saranwrap.getpid(prox) self.assertEqual(os.kill(pid, 0), None) # assert that the process is running del prox # removing all references to the proxy should kill the child process + api.sleep(0.1) # need to let the signal handler run self.assertRaises(OSError, os.kill, pid, 0) # raises OSError if pid doesn't exist def test_detection_of_server_crash(self):