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

sachin-handiekar / jInstagram / 322 / 1
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2016 05:38PM UTC
Files 89
Run time 4s
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

24 Nov 2016 05:37PM UTC coverage: 56.095% (-10.7%) from 66.827%
322.1

Pull #186

travis-ci

web-flow
add retry logic on response stream failure

Motivation

The instagram API, over HTTP 1.1, occasionally exhibits these
issues:

- socket reset of TCP connection
- partial JSON response stream leading to JSON parse errors

This addresses the errors by retrying the request when either a
socket exception or JSON parse error occurs.

It is worth noting that the instagram API over HTTP2 does not
seem to have these issues. It would be much more work to allow
HTTP 2, at this point, because Java does not support in their
native APIs.

Solution

Provide a configurable setting to retry the request on stream
failure.

Only one retry is attempted. If the response failed again the
errors will be propagated.

Missing

A test should be provided to check the retry logic.

retry on invalid json response

single retry; must be enabled in InstagramConfig

fix retry logic
Pull Request #186: add retry logic on response stream failure

948 of 1690 relevant lines covered (56.09%)

5.01 hits per line

Source Files on job 322.1
  • Tree
  • List 0
  • Changed 35
  • Source Changed 3
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 322
  • Travis Job 322.1
  • 7aef995d on github
  • Prev Job for on master (#321.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