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

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

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

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>

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

1941 of 2154 relevant lines covered (90.11%)

3.6 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 683.1 (DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:47PM UTC 0
90.06
Travis Job 683.1
2 683.2 (DJANGO=1.6.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:47PM UTC 0
89.97
Travis Job 683.2
3 683.3 (DJANGO=1.5.12 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:47PM UTC 0
89.83
Travis Job 683.3
4 683.4 (DJANGO=1.6.10 TEST_DATABASE_NAME=serrano TEST_DATABASE_USER=postgres) 21 Jan 2015 03:47PM UTC 0
89.74
Travis Job 683.4
Source Files on build 683
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #683
  • a240af4b on github
  • Prev Build on issue-252 (#681)
  • Next Build on issue-252 (#684)
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