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

mongoid / moped / 1112
97%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2014 05:26PM UTC
Jobs 4
Files 55
Run time 1min
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
1112

Pull #331

travis-ci

telent
socket timeouts using select not SO_RCVTIMEO

In MRI 2.1.3 - and probably most other versions - setting the
SO_RCVTIMEO option on a socket will cause read(2) to return EWOULDBLOCK
as expected, but the interpreter internals will retry the operation
instead of passing the failure up to interpreted code.  Thus, the
timeout has no visible effect.

What we should do instead is call Kernel.select with the required
timeout to check if there is data available, *then* call read(2).
If .select fails we raise a Errors::ConnectionFailure on the assumption
that something higher up in the stack will catch it and cope.
Pull Request #331: Hangs forever in refresh after 5 minutes when 2ary unreachable

7 of 7 new or added lines in 1 file covered. (100.0%)

1495 of 1564 relevant lines covered (95.59%)

831.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1112.1 (1.9.3, CI="travis") 03 Nov 2014 05:27PM UTC 0
95.61
Travis Job 1112.1
2 1112.2 (2.0.0, CI="travis") 03 Nov 2014 05:27PM UTC 0
95.61
Travis Job 1112.2
3 1112.3 (2.1.0, CI="travis") 03 Nov 2014 05:27PM UTC 0
95.61
Travis Job 1112.3
4 1112.4 (jruby, CI="travis") 03 Nov 2014 05:26PM UTC 0
93.68
Travis Job 1112.4
Source Files on build 1112
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1112
  • Pull Request #331
  • PR Base - master (#1111)
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