From 6b3bcd49d2b758ec0ded5af94e2cdfedb5e6a40a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 30 Jun 2020 20:22:08 +0930 Subject: [PATCH] tests: fix flake in test_penalty_htlc_tx_fulfill If the daemon already knows about the channel before it was stopped, it won't get this message from gossipd. That's OK, since we explicitly test for the channel being active two lines down. Signed-off-by: Rusty Russell --- tests/test_closing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_closing.py b/tests/test_closing.py index 8eb8df019..a95fe8fd9 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -782,7 +782,6 @@ def test_penalty_htlc_tx_fulfill(node_factory, bitcoind): # push some money from l3->l2, so that the commit counter advances l2.rpc.connect(l3.info['id'], 'localhost', l3.port) - l2.daemon.wait_for_log('now ACTIVE') inv = l3.rpc.invoice(10**4, '1', 'push') # Make sure gossipd in l2 knows it's active wait_for(lambda: [c['active'] for c in l2.rpc.listchannels(l2.get_channel_scid(l3))['channels']] == [True, True])