tests: Increase some timeouts for OS X.

This commit is contained in:
Florian Bruhin 2015-09-17 21:22:35 +02:00
parent 20e5c4cbe9
commit fbf9c74752
2 changed files with 3 additions and 2 deletions

View File

@ -597,7 +597,8 @@ def test_timeout(qtbot, caplog, qlocalsocket, ipc_server):
qlocalsocket.connectToServer('qute-test')
with caplog.atLevel(logging.ERROR):
with qtbot.waitSignal(qlocalsocket.disconnected, raising=True):
with qtbot.waitSignal(qlocalsocket.disconnected, raising=True,
timeout=5000):
pass
assert caplog.records()[-1].message == "IPC connection timed out."

View File

@ -98,7 +98,7 @@ class TestLogTime:
assert match
duration = float(match.group(1))
assert 0 < duration < 5
assert 0 < duration < 30
def test_logger(self, caplog):
"""Test with an explicit logger instead of a name."""