Increase timeout.
This commit is contained in:
parent
88167ce4ce
commit
1a1862a10d
@ -184,7 +184,7 @@ def test_start_logging(fake_proc, caplog):
|
|||||||
def test_error(qtbot, proc, caplog, guiprocess_message_mock):
|
def test_error(qtbot, proc, caplog, guiprocess_message_mock):
|
||||||
"""Test the process emitting an error."""
|
"""Test the process emitting an error."""
|
||||||
with caplog.atLevel(logging.ERROR, 'message'):
|
with caplog.atLevel(logging.ERROR, 'message'):
|
||||||
with qtbot.waitSignal(proc.error, raising=True):
|
with qtbot.waitSignal(proc.error, raising=True, timeout=5000):
|
||||||
proc.start('this_does_not_exist_either', [])
|
proc.start('this_does_not_exist_either', [])
|
||||||
|
|
||||||
msg = guiprocess_message_mock.getmsg(guiprocess_message_mock.Level.error,
|
msg = guiprocess_message_mock.getmsg(guiprocess_message_mock.Level.error,
|
||||||
|
Loading…
Reference in New Issue
Block a user