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

agateau / yokadi
68%
master: 68%

Build:
Build:
LAST BUILD BRANCH: sync
DEFAULT BRANCH: master
Repo Added 09 Sep 2014 11:56AM UTC
Files 65
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

LAST BUILD ON BRANCH fix-stale-lock
branch: fix-stale-lock
CHANGE BRANCH
x
Reset
  • fix-stale-lock
  • 1.0
  • 1.0-dev
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.1
  • 1.1-dev
  • 1.1.0
  • 1.1.1
  • 1.2.0
  • avoid-reaching-parameter-limit
  • db-v10
  • db-v11
  • db-v12
  • db-v9
  • dev
  • dirs
  • drop-project-keyword
  • fix-edit-rm-keyword
  • fix-invalid-taskkeyword-rows
  • fix-negative-keyword-filter
  • improve-update
  • install-fixes
  • json-recurrence
  • master
  • mkdist
  • no-tui-in-core
  • profile
  • python3-sqla
  • rm-utils
  • split-keywordfilter-class
  • sync
  • sync-unbreak-travis
  • version-refactor
  • watch-sql-events
  • wip/cascade
  • wip/medit
  • wip/rename-dump-fields
  • wip/rm-crypto

pending completion
167

push

travis-ci

agateau
Unbreak task lock

Deleting stale locks would break because after self.session.delete(lock),
the lock is still in the session as long as it has not been committed.
Instead of committing, and risking a concurrency issue, reuse the lock by
updating its pid and updateDate fields.

Made the code a bit easier to test by adding named parameters for pid
and date, added a unit test.

1872 of 2764 relevant lines covered (67.73%)

1.35 hits per line

Relevant lines Covered
Build:
Build:
2764 RELEVANT LINES 1872 COVERED LINES
1.35 HITS PER LINE
Source Files on fix-stale-lock
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
167 fix-stale-lock Unbreak task lock Deleting stale locks would break because after self.session.delete(lock), the lock is still in the session as long as it has not been committed. Instead of committing, and risking a concurrency issue, reuse the lock by updating ... push 25 Jan 2016 08:29AM UTC agateau travis-ci pending completion  
See All Builds (256)
  • Repo on GitHub
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

© 2025 Coveralls, Inc