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

TykTechnologies / tyk / 2831 / 2

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

01 Sep 2017 04:46PM UTC coverage: 44.168%. Remained the same
LATEST_GO=true

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

Source Files on job 2831.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2831
  • Travis Job 2831.2
  • f37abb81 on github
  • Prev Job for LATEST_GO=true on master (#2826.2)
  • Next Job for LATEST_GO=true on master (#2834.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