Skip to content

Commit f35d971

Browse files
committed
pytest: fix test_bitcoin_backend_gianttx flake.
signpsbt could be the one which takes a long time, so allow any psbt event. Signed-off-by: Rusty Russell <[email protected]>
1 parent 0a7aa34 commit f35d971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ def test_bitcoin_backend(node_factory, bitcoind):
19041904
def test_bitcoin_backend_gianttx(node_factory, bitcoind):
19051905
"""Test that a giant tx doesn't crash bcli"""
19061906
# This complains about how long fundpsbt took.
1907-
l1 = node_factory.get_node(start=False, broken_log='Request fundpsbt took')
1907+
l1 = node_factory.get_node(start=False, broken_log="That's weird: Request .*psbt took")
19081908
# With memleak we spend far too much time gathering backtraces.
19091909
if "LIGHTNINGD_DEV_MEMLEAK" in l1.daemon.env:
19101910
del l1.daemon.env["LIGHTNINGD_DEV_MEMLEAK"]

0 commit comments

Comments
 (0)