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

chop-dbhi / serrano / 684
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: 2.4.1
DEFAULT BRANCH: master
Ran 21 Jan 2015 03:54PM UTC
Jobs 3
Files 32
Run time 19s
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
684

push

travis-ci

bruth
Execute application stat counts in parallel

A thread pool is started to get/execute the counts in parallel. The data
will be returned regardless if a count times out and will be set to
`None`. Clients can assume that the count is currently unavailable when
this occurs. The `STATS_COUNT_TIMEOUT` setting determines how long to
wait until the thread times out.

This requires the test database to not be SQLite, since multiple
connections are not supported while the test suite is running. See
https://github.com/django/django/blob/stable/1.6.x/django/db/backends/sqlite3/base.py#L96

In addition, there is a condition to close the connection inside the
thread to prevent idle connections. This behavior was not observed in
Django 1.6+.

Fix #252

Signed-off-by: Byron Ruth <b@devel.io>

31 of 31 new or added lines in 2 files covered. (100.0%)

1940 of 2153 relevant lines covered (90.11%)

2.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
serrano/resources/stats.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
serrano/resources/stats.py
Jobs
ID Job ID Ran Files Coverage
1 684.1 (DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:54PM UTC 0
90.06
Travis Job 684.1
2 684.2 (DJANGO=1.6.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:54PM UTC 0
89.97
Travis Job 684.2
3 684.3 (DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:54PM UTC 0
89.83
Travis Job 684.3
Source Files on build 684
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #684
  • 7f890585 on github
  • Prev Build on issue-252 (#683)
  • Next Build on issue-252 (#686)
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