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

spesmilo / electrum / 11156 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 10 Feb 2021 07:51PM UTC
Files 64
Run time 11s
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

10 Feb 2021 06:40PM UTC coverage: 57.33% (-0.009%) from 57.339%
11156.1

push

travis-ci

SomberNight
lntransport: CancelledError needs priority over LPConnClosed

Scenario (prior this change):
A task in lnpeer.Peer.taskgroup raises ORIG_EXC, e.g. in htlc_switch.
The taskgroup then cancels all its tasks and then awaits each (in cancel_remaining):
https://github.com/kyuupichan/aiorpcX/blob/4e64c5604/aiorpcx/curio.py#L217-L221
In Peer.main_loop, we would want ORIG_EXC to be raised,
but instead LightningPeerConnectionClosed() will be raised as
the Peer._message_loop() task is cancelled, and it is awaited first in cancel_remaining.
We should make sure that if a task is cancelled it will let the CancelledError
propagate out, or at least it does not raise a different exception instead.

14172 of 24720 relevant lines covered (57.33%)

0.57 hits per line

Source Files on job 11156.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9155
  • Travis Job 11156.1
  • fa176279 on github
  • Prev Job for on master (#11153.2)
  • Next Job for on master (#11157.2)
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