mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
tests: de-flake lightningd_still_loading
This commit is contained in:
parent
fe6c7f8f80
commit
904a1384ef
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ def test_lightningd_still_loading(node_factory, bitcoind, executor):
|
||||||
l1, l2 = node_factory.line_graph(2, opts={'may_reconnect': True, 'wait_for_bitcoind_sync': False})
|
l1, l2 = node_factory.line_graph(2, opts={'may_reconnect': True, 'wait_for_bitcoind_sync': False})
|
||||||
# Extra funds, for second channel attempt.
|
# Extra funds, for second channel attempt.
|
||||||
bitcoind.rpc.sendtoaddress(l1.rpc.newaddr()['bech32'], 1.0)
|
bitcoind.rpc.sendtoaddress(l1.rpc.newaddr()['bech32'], 1.0)
|
||||||
|
bitcoind.generate_block(2)
|
||||||
|
sync_blockheight(bitcoind, [l1])
|
||||||
|
|
||||||
# Balance l1<->l2 channel
|
# Balance l1<->l2 channel
|
||||||
l1.pay(l2, 10**9 // 2)
|
l1.pay(l2, 10**9 // 2)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue