From 9fabf614f42cee8a5ec7544090902e3f5b5ed71a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 24 Aug 2020 20:57:11 +0930 Subject: [PATCH] pytest: run test_opening_tiny_channel with option_anchor_outputs. It's now easy to fix. Signed-off-by: Rusty Russell --- tests/test_connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index f7abb5b52..18adb29b2 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -139,7 +139,6 @@ def test_bad_opening(node_factory): l2.daemon.wait_for_log('to_self_delay 100 larger than 99') -@unittest.skipIf(EXPERIMENTAL_FEATURES, "FIXME: anchor_outputs changes numbers") @unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow") @unittest.skipIf(TEST_NETWORK != 'regtest', "Fee computation and limits are network specific") @pytest.mark.slow_test @@ -165,6 +164,9 @@ def test_opening_tiny_channel(node_factory): reserves = 2 * dustlimit min_commit_tx_fees = basic_fee(7500) overhead = reserves + min_commit_tx_fees + if EXPERIMENTAL_FEATURES: + # Gotta fund those anchors too! + overhead += 660 l2_min_capacity = 1 # just enough to get past capacity filter l3_min_capacity = 10000 # the current default