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

gwicke / restbase / 634
94%
master: 92%

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

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

108.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 634.1 10 May 2016 09:26PM UTC 0
93.51
Travis Job 634.1
2 634.2 10 May 2016 09:23PM UTC 0
93.51
Travis Job 634.2
4 634.4 10 May 2016 09:26PM UTC 0
93.51
Travis Job 634.4
5 634.5 10 May 2016 09:22PM UTC 0
93.51
Travis Job 634.5
Source Files on build 634
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #634
  • 88e89bf0 on github
  • Prev Build on test_failures (#633)
  • Next Build on test_failures (#635)
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