From 7971e6aa11744a4f8207310e83d80dd4cd12d46d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 7 Jan 2026 16:12:41 +1030 Subject: [PATCH] pytest: don't get upset at slow multi-input signing under valgrind. ``` 2026-01-06T07:46:35.5710043Z lightningd-1 2026-01-06T07:45:11.040Z UNUSUAL jsonrpc#68: That's weird: Request signpsbt took 5099 milliseconds ``` Signed-off-by: Rusty Russell --- tests/test_wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_wallet.py b/tests/test_wallet.py index 967a7f9a2..a9a86f0d0 100644 --- a/tests/test_wallet.py +++ b/tests/test_wallet.py @@ -1225,7 +1225,8 @@ def test_sign_and_send_psbt(node_factory, bitcoind, chainparams): @unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "BIP86 random_hsm not compatible with liquid-regtest bech32") def test_txsend(node_factory, bitcoind, chainparams): amount = 1000000 - l1 = node_factory.get_node(random_hsm=True) + # Under valgrind, we can actually take 5 seconds to sign multiple inputs! + l1 = node_factory.get_node(random_hsm=True, broken_log="That's weird: Request signpsbt took") addr = chainparams['example_addr'] # Add some funds to withdraw later