tests: Increase test_late_message timeout.

This was failing on Travis on OS X, and waiting 1s for process start and 0.5s
sleep seems a bit tight.
This commit is contained in:
Florian Bruhin 2015-12-01 08:10:44 +01:00
parent 81f522336f
commit d53c4f2702

View File

@ -163,7 +163,7 @@ class TestEnsureNotLogged:
pyproc.code = "time.sleep(0.5); print('blacklisted')"
pyproc.start()
with pytest.raises(testprocess.BlacklistedMessageError):
pyproc.ensure_not_logged(data='blacklisted', delay=1000)
pyproc.ensure_not_logged(data='blacklisted', delay=5000)
def test_no_matching_message(self, pyproc):
pyproc.code = "print('blacklisted... nope!')"