mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
tests: de-flake lightningd_still_loading
This commit is contained in:
committed by
Rusty Russell
parent
fe6c7f8f80
commit
904a1384ef
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user