tests: de-flake lightningd_still_loading

This commit is contained in:
lisa neigut 2019-09-10 22:47:26 -05:00 committed by Rusty Russell
parent fe6c7f8f80
commit 904a1384ef

View file

@ -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})
# Extra funds, for second channel attempt.
bitcoind.rpc.sendtoaddress(l1.rpc.newaddr()['bech32'], 1.0)
bitcoind.generate_block(2)
sync_blockheight(bitcoind, [l1])
# Balance l1<->l2 channel
l1.pay(l2, 10**9 // 2)