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

TykTechnologies / tyk / 2579

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2017 04:06PM UTC
Jobs 1
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

pending completion
2579

push

travis-ci

buger
test: use apisMu and policiesMu in the tests too

And move the tests that ensure the locks are used properly. Instead of
them being separate tests, have the test program continuously write to
the maps in the background. If any test is racy - even if it's in the
test code - then -race will catch it.

This should also make these races show up faster.

And leave the background loop with a 10ms sleep to not spin the CPU too
much. I tried with a runtime.Gosched but it still bumped the test time
from ~2s to upwards of ~3s.

Fixes #891.

5727 of 13550 relevant lines covered (42.27%)

0.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2579.1 (LATEST_GO=true) 08 Jul 2017 04:06PM UTC 0
42.27
Travis Job 2579.1
Source Files on build 2579
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2579
  • 3a61cb64 on github
  • Prev Build on master (#2578)
  • Next Build on master (#2580)
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