mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
tests:redirect output, so test log passes
This commit is contained in:
@@ -1727,7 +1727,7 @@ def test_bitcoind_fail_first(node_factory, bitcoind):
|
|||||||
l1.daemon.rpcproxy.mock_rpc('getblockhash', mock_fail)
|
l1.daemon.rpcproxy.mock_rpc('getblockhash', mock_fail)
|
||||||
l1.daemon.rpcproxy.mock_rpc('estimatesmartfee', mock_fail)
|
l1.daemon.rpcproxy.mock_rpc('estimatesmartfee', mock_fail)
|
||||||
|
|
||||||
l1.daemon.start(wait_for_initialized=False)
|
l1.daemon.start(wait_for_initialized=False, stderr_redir=True)
|
||||||
l1.daemon.wait_for_logs([r'getblockhash [a-z0-9]* exited with status 1',
|
l1.daemon.wait_for_logs([r'getblockhash [a-z0-9]* exited with status 1',
|
||||||
r'Unable to estimate opening fees',
|
r'Unable to estimate opening fees',
|
||||||
r'BROKEN.*we have been retrying command for --bitcoin-retry-timeout=60 seconds'])
|
r'BROKEN.*we have been retrying command for --bitcoin-retry-timeout=60 seconds'])
|
||||||
|
|||||||
Reference in New Issue
Block a user