Skip to content

Commit 833b8d1

Browse files
committed
pytest: fix test_bitcoind_fail_first to accept multi-line broken messages.
This will still pass once we split the lines in the next commit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 70fa1a4 commit 833b8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ def test_bitcoind_fail_first(node_factory, bitcoind):
21572157
# first.
21582158
timeout = 5 if 5 < TIMEOUT // 3 else TIMEOUT // 3
21592159
l1 = node_factory.get_node(start=False,
2160-
broken_log=r'plugin-bcli: .*-stdinrpcpass getblockhash 100 exited 1 \(after [0-9]* other errors\)',
2160+
broken_log=r'plugin-bcli: .*(-stdinrpcpass getblockhash 100 exited 1 \(after [0-9]* other errors\)|we have been retrying command for)',
21612161
may_fail=True,
21622162
options={'bitcoin-retry-timeout': timeout})
21632163

0 commit comments

Comments
 (0)