[Buildbot-commits] buildbot ChangeLog,1.1038,1.1039
Brian Warner
warner at users.sourceforge.net
Sat Mar 22 22:14:14 UTC 2008
Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20427
Modified Files:
ChangeLog
Log Message:
[project @ test_vc.Mercurial: wait for 'hg serve' to get running before starting the test]
Original author: warner at lothar.com
Date: 2008-03-22 21:51:14+00:00
Index: ChangeLog
===================================================================
RCS file: /cvsroot/buildbot/buildbot/ChangeLog,v
retrieving revision 1.1038
retrieving revision 1.1039
diff -u -d -r1.1038 -r1.1039
--- ChangeLog 22 Mar 2008 19:45:33 -0000 1.1038
+++ ChangeLog 22 Mar 2008 22:14:11 -0000 1.1039
@@ -1,5 +1,13 @@
2008-03-22 Brian Warner <warner at lothar.com>
+ * buildbot/test/test_vc.py (Mercurial.serveHTTP): wait for the 'hg
+ serve' command to be ready, by polling with twisted.web's
+ client.getPage . Unfortunately mercurial doesn't flush its stdout
+ at startup, so we can't just wait for the 'listening at..' line to
+ be printed. This should fix the sporadic "connection refused" test
+ failures I've seen on the metabuildbot when the buildslave is
+ overloaded and 'hg serve' takes a while to start up.
+
* buildbot/steps/python_twisted.py (TrialTestCaseCounter): modify
regexp to count "Doctest:" lines as well as normal tests. Thanks to
Martin Geisler for the patch. Closes #196.
More information about the Commits
mailing list