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

gwicke / restbase / 634 / 2
94%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 10 May 2016 09:23PM UTC
Files 18
Run time 1s
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:16PM UTC coverage: 93.508%. Remained the same
634.2

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 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 1000ms.

1181 of 1263 relevant lines covered (93.51%)

26.98 hits per line

Source Files on job 634.2
  • Tree
  • List 0
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 634
  • Travis Job 634.2
  • 88e89bf0 on github
  • Prev Job for on test_failures (#633.2)
  • Next Job for on test_failures (#635.3)
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