diff options
author | Robin Roth <robin-roth@online.de> | 2016-05-10 08:09:28 +0200 |
---|---|---|
committer | Robin Roth <robin-roth@online.de> | 2016-05-10 08:09:28 +0200 |
commit | 254cf9ea6821a54086a59dba5c4fe443c28a2679 (patch) | |
tree | 09206b631162390f5a4463213cc1d75e2322ad61 /test/units | |
parent | 30decd5e0ac27c6fd68a530f334f72deed9698e5 (diff) | |
download | ansible-254cf9ea6821a54086a59dba5c4fe443c28a2679.tar.gz |
reduce async timeout
reduce from 3 sec to 0.1 sec; the 3 sec sleep was about half of the total unittest time on my development machine...
Diffstat (limited to 'test/units')
-rw-r--r-- | test/units/executor/test_task_executor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/executor/test_task_executor.py b/test/units/executor/test_task_executor.py index 8f2c1ed8cc..1838111f54 100644 --- a/test/units/executor/test_task_executor.py +++ b/test/units/executor/test_task_executor.py @@ -372,8 +372,8 @@ class TestTaskExecutor(unittest.TestCase): mock_host = MagicMock() mock_task = MagicMock() - mock_task.async = 3 - mock_task.poll = 1 + mock_task.async = 0.1 + mock_task.poll = 0.05 mock_play_context = MagicMock() |