#2395: test_master fails randomly
-------------------+---------------------
Reporter:  dustin  |       Owner:  dustin
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.8.8
 Version:  master  |  Resolution:
Keywords:          |
-------------------+---------------------

Comment (by dustin):

 This seems to "fix" the problem:
 {{{
 #!patch
 diff --git a/master/buildbot/process/botmaster.py
 b/master/buildbot/process/botmaster.py
 index 40c5e54..252803e 100644
 --- a/master/buildbot/process/botmaster.py
 +++ b/master/buildbot/process/botmaster.py
 @@ -381,8 +381,9 @@ class BuildRequestDistributor(service.Service):
              existing_pending = set(self._pending_builders)

              # then sort the new, expanded set of builders
 +            d = self._sortBuilders(list(existing_pending | new_builders))
              self._pending_builders = \
 -                yield self._sortBuilders(list(existing_pending |
 new_builders))
 +                yield d

              # start the activity loop, if we aren't already working on
 that.
              if not self.active:
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2395#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to