From a3b646be31345784f5feba7ad054797fbfcf45bc Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 4 Jun 2019 11:57:30 +0930 Subject: [PATCH] pytest: fix test_hlcs_cltv_only_difference Broken by 909913c26543d7768d765dea49cb362bb740e011, but since Travis skips this test ("temporarily", according to the commit msg in January!) it wasn't caught. Signed-off-by: Rusty Russell --- tests/test_pay.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_pay.py b/tests/test_pay.py index 87c6b1e22..368db720a 100644 --- a/tests/test_pay.py +++ b/tests/test_pay.py @@ -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()