|
Ran
|
Jobs
3
|
Files
64
|
Run time
42s
|
Badge
README BADGES
|
push
travis-ci
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.
14158 of 24672 relevant lines covered (57.38%)
1.72 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 11156.1 | 0 |
57.33 |
Travis Job 11156.1 | |
| 2 | 11156.2 | 0 |
57.33 |
Travis Job 11156.2 | |
| 3 | 11156.3 | 0 |
57.55 |
Travis Job 11156.3 |