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

Unleash / unleash-client-java / #1510
85%
master: 89%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 08 Nov 2023 10:20AM UTC
Jobs 1
Files 102
Run time 7s
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

08 Nov 2023 10:19AM UTC coverage: 85.708% (+0.2%) from 85.519%
#1510

push

web-flow
feat: Obey HTTP Status codes from upstream. (#221)

* feat: Obey HTTP Status codes from upstream.

Previously we have treated any status code as equal. This PR changes
that to allow 429 and 50x status codes to incrementally increase the
interval between each time we call. And then gradually decrease once it
starts succeeding.

With 401,403 and 404 we immediately backoff to at minimum 300 seconds of interval as well as log at error level that we were not authorized or the URL did not exist.


Co-authored-by: Gastón Fournier <gaston@getunleash.io>

105 of 112 new or added lines in 7 files covered. (93.75%)

4 existing lines in 1 file now uncovered.

1949 of 2274 relevant lines covered (85.71%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.53
-0.86% src/main/java/io/getunleash/repository/FeatureRepository.java
2
90.57
-3.55% src/main/java/io/getunleash/metric/DefaultHttpMetricsSender.java
4
0.0
0.0% src/main/java/io/getunleash/metric/OkHttpMetricsSender.java

Uncovered Existing Lines

Lines Coverage ∆ File
4
80.65
-12.9% src/main/java/io/getunleash/repository/FeatureToggleResponse.java
Jobs
ID Job ID Ran Files Coverage
1 #1510.1 08 Nov 2023 10:20AM UTC 102
85.71
Source Files on build #1510
  • Tree
  • List 102
  • Changed 7
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c984c23d on github
  • Prev Build on main
  • Next Build on main
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