From 75b33b8b44d9da4c36dc21f36c37584b12941d11 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 13 Sep 2004 01:33:07 +0000 Subject: [PATCH] Somehow I forgot a time.sleep in ChannelPluginTestCase._feedMsg, so it was sucking up 100% CPU. --- test/testsupport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testsupport.py b/test/testsupport.py index ad9b61a11..f880d4768 100644 --- a/test/testsupport.py +++ b/test/testsupport.py @@ -407,6 +407,7 @@ class ChannelPluginTestCase(PluginTestCase): fed = time.time() response = self.irc.takeMsg() while response is None and time.time() - fed < timeout: + time.sleep(0.1) drivers.run() response = self.irc.takeMsg() if response is not None: