Somehow I forgot a time.sleep in ChannelPluginTestCase._feedMsg, so it was sucking up 100% CPU.

This commit is contained in:
Jeremy Fincher 2004-09-13 01:33:07 +00:00
parent ecaceff723
commit 75b33b8b44

View File

@ -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: