bdd: Increase timeouts.

This commit is contained in:
Florian Bruhin 2015-11-03 06:35:52 +01:00
parent e13de98790
commit 7e0e770d53
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ install:
- python scripts/dev/ci_install.py
script:
- tox -e $TESTENV -- -p no:sugar --faulthandler-timeout=60 -v tests
- tox -e $TESTENV -- -p no:sugar --faulthandler-timeout=70 -v tests
after_success:
- '[[ $TESTENV == py34 || $TESTENV == py35 ]] && codecov -e TESTENV -X gcov'

View File

@ -124,7 +124,7 @@ class Process(QObject):
def start(self):
"""Start the process and wait until it started."""
with self._wait_signal(self.ready, timeout=30000):
with self._wait_signal(self.ready, timeout=60000):
self._start()
def _start(self):
@ -157,7 +157,7 @@ class Process(QObject):
"""Check if the process is currently running."""
return self.proc.state() == QProcess.Running
def wait_for(self, timeout=5000, **kwargs):
def wait_for(self, timeout=10000, **kwargs):
"""Wait until a given value is found in the data.
Keyword arguments to this function get interpreted as attributes of the