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

warner / foolscap / 215
93%
master: 89%

Build:
Build:
LAST BUILD BRANCH: new-twisted
DEFAULT BRANCH: master
Ran 01 Jul 2016 01:21AM UTC
Jobs 1
Files 90
Run time 11s
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
215

push

travis-ci

warner
fix allocate_tcp_port()

On both OS-X and Linux, this would occasionally return a port which was
actually in use, causing a subsequent listen() to fail (with
EADDRINUSE). The issues are are platform-dependent, and explained in
detail in the new function body.

The fix requires us to actually listen() on the newly-allocated socket,
twice, and keep trying until we get a port that works. There is a
hard-coded limit of 100 tries, in case the system has so many open
connections that all the randomly-allocated port numbers fail.

15969 of 17240 relevant lines covered (92.63%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 215.1 01 Jul 2016 01:21AM UTC 0
92.63
Travis Job 215.1
Source Files on build 215
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #215
  • 968bae55 on github
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