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

warner / foolscap / 216 / 1
89%
master: 89%

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

01 Jul 2016 01:18AM UTC coverage: 92.628% (-0.02%) from 92.65%
216.1

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

Source Files on job 216.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 216
  • Travis Job 216.1
  • 6a1de25d on github
  • Prev Job for on master (#212.1)
  • Next Job for on master (#218.1)
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