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

TykTechnologies / tyk / 3162

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2017 06:25PM UTC
Jobs 1
Files 84
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

pending completion
3162

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

Jobs
ID Job ID Ran Files Coverage
2 3162.2 (LATEST_GO=true) 02 Oct 2017 06:25PM UTC 0
45.92
Travis Job 3162.2
Source Files on build 3162
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3162
  • 862a89c0 on github
  • Prev Build on master (#3161)
  • Next Build on master (#3165)
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