Skip to content

Commit 3d45626

Browse files
pytest: add timeout to reckless tests
Trying to debug pytest teardown under the github CI runner.
1 parent 0a9bcfb commit 3d45626

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_reckless.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def test_basic_help():
157157
assert r.search_stdout("options:") or r.search_stdout("optional arguments:")
158158

159159

160+
@pytest.mark.timeout(120)
160161
def test_reckless_version_listconfig(node_factory):
161162
'''Version should be reported without loading config and should advance
162163
with lightningd.'''
@@ -466,6 +467,7 @@ def test_reckless_available(node_factory):
466467
assert r.search_stdout('testpluguv')
467468

468469

470+
@pytest.mark.timeout(120)
469471
def test_reckless_notifications(node_factory):
470472
"""Reckless streams logs to the reckless-rpc plugin which are emitted
471473
as 'reckless_log' notifications"""

0 commit comments

Comments
 (0)