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

TykTechnologies / tyk / 2819

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2017 02:45PM UTC
Jobs 1
Files 84
Run time 9s
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
2819

push

travis-ci

buger
revproxy: return a 503 if all hosts are down

Instead of directing to any one of the hosts.

Due to the nature of how the proxy is implemented, the load balancing
happens in the director. At that stage, we can only change the target
URL, not directly write to the response.

Hence, we must start up a local http server that will simply write the
503 and an error message. Use sync.Once to make sure it's not started
multiple times, and reuse it.

Fixes #836.

6003 of 13623 relevant lines covered (44.07%)

0.48 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2819.2 (LATEST_GO=true) 31 Aug 2017 02:45PM UTC 0
44.07
Travis Job 2819.2
Source Files on build 2819
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2819
  • fd378626 on github
  • Prev Build on master (#2817)
  • Next Build on master (#2822)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc