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

allegro / ralph / 5879
68%
ng: 85%

Build:
Build:
LAST BUILD BRANCH: doc-fixes
DEFAULT BRANCH: ng
Ran 24 Jun 2016 06:20AM UTC
Jobs 1
Files 333
Run time 22s
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
5879

push

travis-ci

web-flow
Better way of disabling publishers during handlind subscribers in Ralph3 sync (#2494)

Previously _handle_post_save attribute was assigned to the obj, which should prevent firing post_save publisher on it. Unfortunately it wasn't working perfectly - obj could be saved somewhere underneath and thus it wouldn't have this attr assigned, which caused signal (and publisher) to be fired, which may cause pub-sub cycle between Ralph2 and Ralph3.

This PR solves it by temporarly disabling post_save publisher signal during handling subscriber request.

Since signals (connectors) are not thread-safe, you may want to run runserver with --nothreading option (this would work with gunicorn out of the box, since it's using processes instead of threads).

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

17003 of 25301 relevant lines covered (67.2%)

0.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
100.0
src/ralph/export_to_ng/subscribers.py
8
100.0
src/ralph/export_to_ng/helpers.py
Jobs
ID Job ID Ran Files Coverage
1 5879.1 (DJANGO_VERSION=1.4.21 TEST_DATABASE_ENGINE=mysql) 24 Jun 2016 06:20AM UTC 0
67.2
Travis Job 5879.1
Source Files on build 5879
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5879
  • bc36dbe4 on github
  • Prev Build on develop (#5861)
  • Next Build on develop (#5892)
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