pytest: fix test_hlcs_cltv_only_difference

Broken by 909913c265, but since Travis
skips this test ("temporarily", according to the commit msg in January!)
it wasn't caught.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-06-04 11:57:30 +09:30
committed by Christian Decker
parent 1ca0eef744
commit a3b646be31

View File

@@ -1380,6 +1380,10 @@ def test_htlcs_cltv_only_difference(node_factory, bitcoind):
assert only_one(l2.rpc.listpeers(l3.info['id'])['peers'])['connected']
assert only_one(l3.rpc.listpeers(l4.info['id'])['peers'])['connected']
# TODO Remove our reliance on HTLCs failing on startup and the need for
# this plugin
l4.daemon.opts['plugin'] = 'tests/plugins/fail_htlcs.py'
# Restarting tail node will stop it ignoring HTLCs (it will actually
# fail them immediately).
l4.restart()