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

bradleyfalzon / gopherci / 108 / 1
59%
master: 61%

Build:
Build:
LAST BUILD BRANCH: review-no-approve
DEFAULT BRANCH: master
Ran 28 Jan 2017 11:55AM UTC
Files 13
Run time 0s
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

28 Jan 2017 11:50AM UTC coverage: 58.89%. First build
GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json

push

travis-ci

bradleyfalzon
Add timeout to GCPPubSub connection setup

There's been a couple cases now (#46) when creating the topic on
GCP Pub/Sub that has caused GopherCI to block and never start.

This change creates a context with a timeout for use by the
various pub sub sdk's setup methods with a fixed (hardcoded)
timeout. A test is also provided which sets a very low timeout and
ensures a context.DeadLineExceeded is received.

Unfortunately, a leaktest needed to be removed from an adjacent
test, which caused false positives. I did not have time to correctly
debug this situation.

Fixes #46.

467 of 793 relevant lines covered (58.89%)

1.31 hits per line

Source Files on job 108.1 (GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 108
  • Travis Job 108.1
  • 101068c5 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc