• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pyfarm / pyfarm-agent / 1334 / 3
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2015 04:46AM UTC
Files 29
Run time 706min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Feb 2015 04:35AM UTC coverage: 69.137% (+0.2%) from 68.977%
PYFARM_AGENT_TEST_HTTP_SCHEME="http"

Pull #214

travis-ci

opalmer
Don't use inlineCallbacks on schedule_call due to recursion issues.

In the case of inlineCallbacks there's a recursion problem with
schedule_call calling itself over and over.  It does not
actually cause a recursion problem while running however on
exit Twisted has a problem unwinding the full stack of deferreds.

This code would run fun until Ctrl+C is pressed resulting
in a problem inside of Twisted that looks like a recursion
issue:

  from twisted.internet import reactor
  from pyfarm.agent.service import Agent

  agent = Agent()

  def shutdown():
    agent.shutting_down = True

  agent.repeating_call(0, lambda: None)
  reactor.callLater(3, shutdown)
  reactor.run()

In the case of schedule_call we don't really care
about the result so inlineCallbacks in this case is
not 100% necessary (though it would have been nice
to keep).
Pull Request #214: Replace ScheduledTaskManager with Simplified Method

1819 of 2631 relevant lines covered (69.14%)

0.69 hits per line

Source Files on job 1334.3 (PYFARM_AGENT_TEST_HTTP_SCHEME="http")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1334
  • Travis Job 1334.3
  • c157a551 on github
  • Prev Job for PYFARM_AGENT_TEST_HTTP_SCHEME="http" on master (#1328.3)
  • Next Job for PYFARM_AGENT_TEST_HTTP_SCHEME="http" on master (#1336.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc