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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2026-01-07 09:50:11 +10:30
parent c056a47815
commit fd21b3296c

View File

@@ -1904,7 +1904,7 @@ def test_bitcoin_backend(node_factory, bitcoind):
def test_bitcoin_backend_gianttx(node_factory, bitcoind):
"""Test that a giant tx doesn't crash bcli"""
# This complains about how long fundpsbt took.
l1 = node_factory.get_node(start=False, broken_log='Request fundpsbt took')
l1 = node_factory.get_node(start=False, broken_log="That's weird: Request .*psbt took")
# With memleak we spend far too much time gathering backtraces.
if "LIGHTNINGD_DEV_MEMLEAK" in l1.daemon.env:
del l1.daemon.env["LIGHTNINGD_DEV_MEMLEAK"]