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

TykTechnologies / tyk / 3393
50%
master: %

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

pending completion
3393

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.

5944 of 12906 relevant lines covered (46.06%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3393.2 (LATEST_GO=true) 10 Nov 2017 03:02PM UTC 0
46.06
Travis Job 3393.2
Source Files on build 3393
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3393
  • e10fee1c on github
  • Prev Build on release-2.4 (#3376)
  • Next Build on release-2.4 (#3458)
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