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

warner / foolscap / 216
89%

Build:
DEFAULT BRANCH: master
Ran 01 Jul 2016 01:28AM UTC
Jobs 1
Files 90
Run time 10s
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
216

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.

Closes ticket:258.

15969 of 17240 relevant lines covered (92.63%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 216.1 01 Jul 2016 01:28AM UTC 0
92.63
Travis Job 216.1
Source Files on build 216
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #216
  • 6a1de25d on github
  • Prev Build on master (#212)
  • Next Build on master (#218)
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