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

arteria / django-background-tasks / 258
76%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2018 01:24PM UTC
Jobs 14
Files 16
Run time 6min
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
258

push

travis-ci

walterrenner
Ensure that Task repetitions are created only in the future (#126)

The idea of task repetitions is to repeat a task each n seconds.
This is fine for use-cases where task processing is always running.

When task processing is not always running, this can create a problem.
For example, imagine a daily task and the processing stopping for one week.
When the processing resumes, the same task will be run 7 times in short succession.

This commit ensures that task repetitions are only scheduled in the future.
For above example, this means that the 7 tasks will not be created.
Instead, only one new task will be created, preventing the same task
from running unnecessarily several times.

This commit also adds a unit test to ensure this behavior will not break
again in the future.

2 of 2 new or added lines in 1 file covered. (100.0%)

478 of 598 relevant lines covered (79.93%)

10.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 258.1 (TOX_ENV=py27-django18-sync) 24 Jan 2018 01:24PM UTC 0
76.92
Travis Job 258.1
2 258.2 (TOX_ENV=py27-django18-async) 24 Jan 2018 01:25PM UTC 0
79.77
Travis Job 258.2
3 258.3 (TOX_ENV=py27-django19-sync) 24 Jan 2018 01:25PM UTC 0
76.92
Travis Job 258.3
4 258.4 (TOX_ENV=py27-django19-async) 24 Jan 2018 01:25PM UTC 0
79.77
Travis Job 258.4
5 258.5 (TOX_ENV=py27-django110-sync) 24 Jan 2018 01:25PM UTC 0
76.92
Travis Job 258.5
6 258.6 (TOX_ENV=py27-django110-async) 24 Jan 2018 01:29PM UTC 0
79.77
Travis Job 258.6
7 258.7 (TOX_ENV=py36-django18-sync) 24 Jan 2018 01:26PM UTC 0
76.92
Travis Job 258.7
8 258.8 (TOX_ENV=py36-django18-async) 24 Jan 2018 01:27PM UTC 0
79.77
Travis Job 258.8
9 258.9 (TOX_ENV=py36-django19-sync) 24 Jan 2018 01:27PM UTC 0
76.92
Travis Job 258.9
10 258.10 (TOX_ENV=py36-django19-async) 24 Jan 2018 01:28PM UTC 0
79.77
Travis Job 258.10
11 258.11 (TOX_ENV=py36-django110-sync) 24 Jan 2018 01:28PM UTC 0
76.92
Travis Job 258.11
12 258.12 (TOX_ENV=py36-django110-async) 24 Jan 2018 01:29PM UTC 0
79.77
Travis Job 258.12
13 258.13 (TOX_ENV=py36-django20-sync) 24 Jan 2018 01:29PM UTC 0
76.92
Travis Job 258.13
14 258.14 (TOX_ENV=py36-django20-async) 24 Jan 2018 01:31PM UTC 0
79.77
Travis Job 258.14
Source Files on build 258
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #258
  • 8e7c0013 on github
  • Prev Build on master (#256)
  • Next Build on master (#259)
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