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

TykTechnologies / tyk / 3162 / 2

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2017 06:25PM UTC
Files 84
Run time 3s
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

02 Oct 2017 06:22PM UTC coverage: 45.917% (+0.4%) from 45.536%
LATEST_GO=true

push

travis-ci

buger
proxy: fix and test multi-target reverse proxy

I broke it when replacing the false Init method with a regular
constructor, since I forgot to replace the nil return with the actual
object.

Add a test that covers both the default proxy and an overriding one. It
was crashing as expected. Fix the constructor, making the test pass.

While at it, clean up the code quite a bit:

* no need to parse TargetURL again
* getProxyForRequest can be much simpler
* unindent some of the code

Fixes #1177.

6107 of 13300 relevant lines covered (45.92%)

0.5 hits per line

Source Files on job 3162.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3162
  • Travis Job 3162.2
  • 862a89c0 on github
  • Prev Job for LATEST_GO=true on master (#3161.2)
  • Next Job for LATEST_GO=true on master (#3165.2)
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