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

raiden-network / raiden / 4364 / 4
36%
master: 36%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2018 01:25PM UTC
Files 73
Run time 3s
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

05 Apr 2018 01:14PM UTC coverage: 24.36% (-0.05%) from 24.408%
TEST_TYPE='property'

push

travis-ci

LefterisJP
Fix race condition for event handling

The `RaidenAPI` calls `RaidenService.poll_blockchain_events` explicitely to
ensure that a transaction recently mined has all the events processed.
This is to update the node state and ensure the user of `RaidenAPI` will
see the expected effects applied.

The problem is that the `AlarmTask` can race with the transaction polling,
and *if* the event handler context-switches the effects may not be
applied once the `RaidenAPI` call returns. The introduced lock will
serialize all calls to `poll_blockchain_events`, forcing the `RaidenAPI`
to wait until the `AlarmTask` finish processing the events.

Note: This change will break if the events are *not* processed in the
`AlarmTask` greenlet.

67 of 1963 branches covered (3.41%)

Branch coverage included in aggregate %.

2120 of 7015 relevant lines covered (30.22%)

0.3 hits per line

Source Files on job 4364.4 (TEST_TYPE='property')
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 4364.4
  • 3686b327 on github
  • Prev Job for TEST_TYPE='property' on master (#4363.4)
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