[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.21,1.22

Brian Warner warner at users.sourceforge.net
Tue May 17 03:36:56 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1572/buildbot/scripts

Modified Files:
	runner.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-183
Creator:  Brian Warner <warner at monolith.lothar.com>

fix some minor test problems

	* buildbot/test/test_web.py (WebTest.tearDown): factor out master
	shutdown
	(WebTest.test_logfile): make sure master gets shut down, silences
	some "unclean reactor" test errors

	* buildbot/test/test_changes.py (Sender.tearDown): spin the
	reactor once after shutdown, something in certain versions of
	Twisted trigger a test failure. 1.3.0 is ok, 2.0.0 fails, 2.0.1pre
	fails, svn-trunk is ok.


Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- runner.py	12 May 2005 20:55:14 -0000	1.21
+++ runner.py	17 May 2005 03:36:54 -0000	1.22
@@ -473,6 +473,8 @@
 
 
 def sendchange(config, runReactor=False):
+    """Send a single change to the buildmaster's PBChangeSource. The
+    connection will be drpoped as soon as the Change has been sent."""
     from buildbot.clients.sendchange import Sender
 
     opts = loadOptions()





More information about the Commits mailing list