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

spesmilo / electrum / 6070453044772864
65%
master: 66%

Build:
Build:
LAST BUILD BRANCH: create_channel_storage_returns_dict
DEFAULT BRANCH: master
Ran 22 Apr 2026 03:20PM UTC
Jobs 1
Files 86
Run time 1min
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

22 Apr 2026 03:12PM UTC coverage: 64.953% (-0.002%) from 64.955%
6070453044772864

Pull #10599

CirrusCI

f321x
regtest: make fw_fail_htlc less flaky

On master fw_fail_htlc is, especially on the CI, flaky.
We mine 100 blocks, then wait fixed 5 seconds, then check if bob has
failed back the htlcs to alice.
However if the test runs slowly (CI) 5 seconds can be too short
for bob to catch up to the new 100 mined blocks.
Instead we should just use the wait_until_htlcs_settled helper function
which polls Alice local_unsettled_sent with 30 sec timeout, allowing bob
to take a bit longer (or be faster) than 5 s.

```
.***** test_fw_fail_htlc ******
initializing alice
funding alice
a101c8c4cd656294cbec3a4df557e2687
initializing bob
funding bob
d323d572c4ed76891d3011e0a8eb4ef9a
initializing carol
funding carol
bbf350366f99d6effe692e113d10910c2
mining 1 blocks
starting daemon (PID 5559)
/tmp/alice/regtest/wallets/default_wallet
true
starting daemon (PID 5577)
/tmp/bob/regtest/wallets/default_wallet
true
starting daemon (PID 5595)
/tmp/carol/regtest/wallets/default_wallet
true
alice and carol open channels with bob
mining 3 blocks
wait until alice sees channel open.
wait until alice sees channel open..
wait until alice sees channel open...
alice pays carol
Daemon stopped
mining 1 blocks
mining 150 blocks
wait until <a class=hub.com/spesmilo/electrum/commit/99ad1d44b9054f5a85c2fb45e9a9b93eb13c7851">99ad1d44b04ed0664be5cf866d79d38fc:2 is spent.
...
wait until 99ad1d44b9054f5a85c2fb45e9a9b93eb13c785104ed0664be5cf866d79d38fc:2 is spent............................
mining 1 blocks
mining 100 blocks
alice htlc was not failed
FDaemon stopped
```
Pull Request #10599: regtest: make fw_fail_htlc less flaky

24504 of 37726 relevant lines covered (64.95%)

0.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
62.36
-0.05% electrum/lnpeer.py
1
88.1
-0.05% electrum/transaction.py
Jobs
ID Job ID Ran Files Coverage
1 6070453044772864.1 22 Apr 2026 03:20PM UTC 86
64.95
Source Files on build 6070453044772864
  • Tree
  • List 86
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #60704530...
  • Pull Request #10599
  • PR Base - master (#64512705...)
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