Module: check_mk
Branch: master
Commit: 3321d1bf2ce2beb7e5345dd14e1c96f71d40a95b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3321d1bf2ce2be…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Jan 8 12:52:06 2019 +0100
Bumped sleeping time again.
test_start_job should *really* be fixed and the sleep hack should be
removed... :-/
Change-Id: Ie5fe763fb6d33126e541cf38fd1a9ac93db05091
---
tests/unit/cmk/gui/test_background_job.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/cmk/gui/test_background_job.py
b/tests/unit/cmk/gui/test_background_job.py
index fadd6a0..cd07c85 100644
--- a/tests/unit/cmk/gui/test_background_job.py
+++ b/tests/unit/cmk/gui/test_background_job.py
@@ -67,7 +67,7 @@ def test_start_job():
assert status["state"] == background_job.JobStatus.state_initialized
job.start()
- time.sleep(0.2)
+ time.sleep(1)
assert job.is_running()
with pytest.raises(background_job.BackgroundJobAlreadyRunning):