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

warner / foolscap / 283
89%

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2016 07:56PM UTC
Jobs 1
Files 63
Run time 12s
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
283

push

travis-ci

warner
allocate_tcp_port: avoid loopback-bound sockets

I thought I'd fixed this, but I'm still seeing occasional failures,
where another process has bound a socket to 127.0.0.1, and
allocate_tcp_port() gives it to me anyways. I wouldn't be surprised if
the code that's using the socket is binding it to lo0 too, otherwise it
might not cause a problem.

I think the fix is for allocate_tcp_port() to attempt to bind a
socket (with the proposed port number) to both 0.0.0.0 and then
127.0.0.1, seeing if either gives us an error.

(re) closes ticket:258

7736 of 8726 relevant lines covered (88.65%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 283.1 01 Sep 2016 07:56PM UTC 0
88.65
Travis Job 283.1
Source Files on build 283
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #283
  • a1cde254 on github
  • Prev Build on master (#282)
  • Next Build on master (#284)
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

© 2025 Coveralls, Inc