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

TykTechnologies / tyk / 2778

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

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

Jobs
ID Job ID Ran Files Coverage
2 2778.2 (LATEST_GO=true) 22 Aug 2017 01:01PM UTC 0
43.91
Travis Job 2778.2
Source Files on build 2778
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2778
  • 7e4a23ba on github
  • Prev Build on master (#2772)
  • Next Build on master (#2781)
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