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

stripe / stripe-ruby / 3362
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 16 Aug 2019 11:46PM UTC
Jobs 5
Files 97
Run time 3min
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
3362

push

travis-ci

brandur-stripe
Tweak retry logic to be a little more like stripe-node (#828)

Tweaks the retry logic to be a little more like stripe-node's. In
particular, we also retry under these conditions:

* If we receive a 500 on a non-`POST` request.
* If we receive a 503.

I made it slightly different from stripe-node which checks for a 500
with `>= 500`. I don't really like that -- if we want to retry specific
status codes we should be explicit about it.

We're actively re-examining ways on how to make it easier for clients to
figure out when to retry right now, but I figure V5 is a good time to
tweak this because the modifications change the method signature of
`should_retry?` slightly, and it's technically a public method.

1810 of 1882 relevant lines covered (96.17%)

2461.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3362.1 (2.3) 16 Aug 2019 11:46PM UTC 0
96.28
Travis Job 3362.1
2 3362.2 (2.4) 16 Aug 2019 11:46PM UTC 0
96.28
Travis Job 3362.2
3 3362.3 (2.5) 16 Aug 2019 11:46PM UTC 0
96.28
Travis Job 3362.3
4 3362.4 (2.6) 16 Aug 2019 11:46PM UTC 0
96.25
Travis Job 3362.4
5 3362.5 (jruby-9.2.7.0) 16 Aug 2019 11:49PM UTC 0
0.0
Travis Job 3362.5
Source Files on build 3362
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3362
  • 084276b4 on github
  • Prev Build on integration-v5 (#3358)
  • Next Build on integration-v5 (#3372)
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