Skip to content

Commit 0a7aa34

Browse files
committed
pytest: expect slow commands with giant commando test
``` 2025-12-10T02:51:06.2435409Z [gw1] [ 77%] ERROR tests/test_plugin.py::test_commando ...lightningd-1: had BROKEN messages ... 2025-12-10T03:00:26.0440311Z lightningd-1 2025-12-10T02:51:01.548Z UNUSUAL jsonrpc#69: That's weird: Request checkrune took 5961 milliseconds ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent 585d383 commit 0a7aa34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2844,7 +2844,8 @@ def test_plugin_shutdown(node_factory):
28442844

28452845
def test_commando(node_factory, executor):
28462846
l1, l2 = node_factory.line_graph(2, fundchannel=False,
2847-
opts={'log-level': 'io'})
2847+
# Under valgrind, checkrune of 400k command can be slow!
2848+
opts={'log-level': 'io', 'broken_log': "That's weird: Request .* took"})
28482849

28492850
rune = l1.rpc.createrune()['rune']
28502851

0 commit comments

Comments
 (0)