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

TykTechnologies / tyk / 2042
39%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 04 Apr 2017 01:57PM UTC
Jobs 1
Files 86
Run time 5s
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
2042

push

travis-ci

buger
Fix uptime checks when triggerLimit is 1

When limit set to 1 it did not marked host as failed, and continued
sending traffic to it, utill next host check. Worth noticing that now it
also use >= logic insead of >.

Also fixed Uptime tests reverse logic:
`IsHostDown` function currently have reverse logic, and returns true
for active hosts. Fun thing, Tyk still works fine because `GetNextTarget` have reverse
logic as well, and they are fix each other :)

Added tests covering part of uptime tests functionality.

19 of 19 new or added lines in 3 files covered. (100.0%)

5521 of 14283 relevant lines covered (38.65%)

0.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
host_checker.go

Uncovered Existing Lines

Lines Coverage ∆ File
10
100.0
host_checker_manager.go
22
100.0
host_checker.go
Jobs
ID Job ID Ran Files Coverage
2 2042.2 (LATEST_GO=true) 04 Apr 2017 01:58PM UTC 0
38.65
Travis Job 2042.2
Source Files on build 2042
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2042
  • f391a8ed on github
  • Prev Build on fix-uptime-reverse-logic (#2040)
  • Next Build on fix-uptime-reverse-logic (#2044)
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