[Buildbot-commits] buildbot/buildbot/test test_maildir.py,1.7,1.8

Brian Warner warner at users.sourceforge.net
Thu Aug 2 07:12:05 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12190/buildbot/test

Modified Files:
	test_maildir.py 
Log Message:
[project @ test_maildir.py: clean up the TimeOutError timer]

Original author: warner at lothar.com
Date: 2007-08-02 07:11:26+00:00

Index: test_maildir.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_maildir.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- test_maildir.py	1 Aug 2007 20:31:12 -0000	1.7
+++ test_maildir.py	2 Aug 2007 07:12:03 -0000	1.8
@@ -66,7 +66,7 @@
                               os.path.join(testfiles_dir, msg))
         self.loop = task.LoopingCall(self.poll, self.changes, count, d)
         self.loop.start(0.1)
-        t = reactor.callLater(self.SECONDS_PER_MESSAGE*i + 15,
+        t = reactor.callLater(self.SECONDS_PER_MESSAGE*count + 15,
                               d.errback, TimeOutError)
         # TODO: verify the messages, should use code from test_mailparse but
         # I'm not sure how to factor the verification routines out in a





More information about the Commits mailing list