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

allegro / ralph / 7583
85%

Build:
DEFAULT BRANCH: ng
Ran 26 Jan 2017 02:42PM UTC
Jobs 1
Files 222
Run time 12s
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
7583

push

travis-ci

web-flow
Fix different sql queries count in admin views test (#2921)

The problem here was testing all admin views in single unit test. Because of that, depending on order of iterating through models (admins) registry, less or more objects of some type (especially BaseObject) could be created. This leads to following behaviour:

After adding next 10 objects, when count of base objects hits over 100, limit clause was added to the query.

This `LIMIT` clause together with `DESC` ordering leads to omitting some of the objects available in first execution of the query, especially dropping all objects of particular type (subclass of BaseObject, for example CloudHost). This causes running one SQL less between consecutive checks.

11727 of 13891 relevant lines covered (84.42%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
3 7583.3 (DJANGO_VERSION=1.8.17 TEST_DB_ENGINE=psql) 26 Jan 2017 02:42PM UTC 0
84.42
Travis Job 7583.3
Source Files on build 7583
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7583
  • 648de006 on github
  • Prev Build on ng (#7582)
  • Next Build on ng (#7586)
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