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

gwicke / restbase / 635
94%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 10 May 2016 09:31PM UTC
Jobs 5
Files 18
Run time 1min
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
635

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%)

135.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 635.1 10 May 2016 09:31PM UTC 0
93.51
Travis Job 635.1
2 635.2 10 May 2016 09:32PM UTC 0
93.51
Travis Job 635.2
3 635.3 10 May 2016 09:32PM UTC 0
93.51
Travis Job 635.3
4 635.4 10 May 2016 09:31PM UTC 0
93.51
Travis Job 635.4
5 635.5 10 May 2016 09:32PM UTC 0
93.51
Travis Job 635.5
Source Files on build 635
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #635
  • e0055314 on github
  • Prev Build on test_failures (#634)
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