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

TykTechnologies / tyk / 2831

Build:
DEFAULT BRANCH: master
Ran 01 Sep 2017 04:49PM UTC
Jobs 1
Files 84
Run time 39s
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
2831

push

travis-ci

buger
test: wait for mock gorpc server to start

And catch its start error, if any.

The problem with using Serve is that it blocks until the server is
stopped, so we must use a goroutine. But then it's impossible to wait
for the server to be ready to accept connections. This lead to the RPC
tests being flakey and sometimes slow, due to the fact that we might
send requests to it before the server is ready.

I was able to reproduce the test timeout that CI was running into, as
well as test runs that took ~1s instead of ~0s, by chaining multiple
goroutines when calling Serve to randomize further when the server may
be started.

Fixes #835.

6006 of 13598 relevant lines covered (44.17%)

0.48 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2831.2 (LATEST_GO=true) 01 Sep 2017 04:49PM UTC 0
44.17
Travis Job 2831.2
Source Files on build 2831
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2831
  • f37abb81 on github
  • Prev Build on master (#2826)
  • Next Build on master (#2834)
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