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

TykTechnologies / tyk / 2778 / 2

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2017 01:01PM 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

22 Aug 2017 12:57PM UTC coverage: 43.914%. Remained the same
LATEST_GO=true

push

travis-ci

buger
rpc: make connection ID a local variable

This value is only used in its block, so it need not be a global. But
the problem is that we may call Connect multiple times to force a
re-connect, and the global was getting overwritten while a Dial call was
reading it.

This is the data race that CI caught. Fix it by just making it a local
variable. That way, it's impossible for two distinct Connect calls to
share the same connection ID variable, thus there is no possibility of a
race.

Fixes #987.

5971 of 13597 relevant lines covered (43.91%)

0.47 hits per line

Source Files on job 2778.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2778
  • Travis Job 2778.2
  • 7e4a23ba on github
  • Prev Job for LATEST_GO=true on master (#2772.2)
  • Next Job for LATEST_GO=true on master (#2781.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc