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

gwicke / restbase / 635 / 5
94%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 10 May 2016 09:32PM UTC
Files 18
Run time 11s
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

10 May 2016 09:26PM UTC coverage: 93.508%. Remained the same
635.5

push

travis-ci

gwicke
Make tests more reliable

We have recently seen a lot of spurious travis failures, which consumed a lot
of time for re-running tests & checking whether there were actual failures or
not.

Most of these spurious failures were related to local / remote request
classification, which is based on execution logs. The same tests are
consistently passing locally, so it seems likely that we are seeing some kind
of race condition, which is more likely to trigger when tests are executed
slowly in travis.

This patch changes these tests to check for equality of tids instead. While this
does not directly check for presence of local / remote requests, it does
indirectly test that the content is saved & then served from storage in
subsequent requests.

Another class of failures came from the event production test, which only left
100ms for async request processing, before testing that the event had indeed
been processed. This was not always enough in the travis environment, so this
patch bumps up the timeout to 2000ms.

1181 of 1263 relevant lines covered (93.51%)

27.08 hits per line

Source Files on job 635.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 635
  • Travis Job 635.5
  • e0055314 on github
  • Prev Job for on test_failures (#634.5)
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