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

TykTechnologies / tyk / 3392

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2017 03:02PM UTC
Jobs 1
Files 79
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
3392

push

travis-ci

buger
loader: set up exactly one sub-router per host

Otherwise, multiple sub-routers per host (such as one per API
definition, what we were doing) can keep some of the listen paths from
being reachable. See the added comment for details.

Without the fix:

	--- FAIL: TestApiLoaderLongestPathFirst (0.15s)
		api_test.go:767: {host1 ab}: wanted /ab/ab, got /a/ab
		api_test.go:767: {host1 a/b/c}: wanted /a/b/c/a/b/c, got /a/a/b/c
		api_test.go:767: {host3 a/b/c}: wanted /a/b/c/a/b/c, got /a/a/b/c
		api_test.go:767: {host3 abc}: wanted /abc/abc, got /ab/abc
		api_test.go:767: {host1 abc}: wanted /abc/abc, got /a/abc
		api_test.go:767: {host2 abc}: wanted /abc/abc, got /a/abc
		api_test.go:767: {host2 ab}: wanted /ab/ab, got /a/ab
		api_test.go:767: {host1 ab/c}: wanted /ab/c/ab/c, got /a/ab/c
		api_test.go:767: {host3 ab/c}: wanted /ab/c/ab/c, got /ab/ab/c

Fixes #1271.

5941 of 12900 relevant lines covered (46.05%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3392.2 (LATEST_GO=true) 10 Nov 2017 03:02PM UTC 0
46.05
Travis Job 3392.2
Source Files on build 3392
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3392
  • a3ee921b on github
  • Prev Build on master (#3379)
  • Next Build on master (#3459)
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