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

pyfarm / pyfarm-agent / 1334
73%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2015 04:46AM UTC
Jobs 2
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

pending completion
1334

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%)

1.38 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1334.3 (PYFARM_AGENT_TEST_HTTP_SCHEME="http") 12 Feb 2015 04:46AM UTC 0
69.14
Travis Job 1334.3
4 1334.4 (PYFARM_AGENT_TEST_HTTP_SCHEME="https") 12 Feb 2015 04:46AM UTC 0
Travis Job 1334.4
Source Files on build 1334
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1334
  • Pull Request #214
  • PR Base - master (#1328)
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