From 7fcb26f3631a48bb902b623f6a2d252d19f654b4 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Sun, 26 Apr 2015 15:28:04 +0100 Subject: [PATCH] Tests: Increase timeout to 5 seconds --- test/basetest/task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/basetest/task.py b/test/basetest/task.py index cf13465ce..8cdd6a4ba 100644 --- a/test/basetest/task.py +++ b/test/basetest/task.py @@ -147,7 +147,7 @@ class Task(object): return f.readlines() def runSuccess(self, args=(), input=None, merge_streams=False, - timeout=1): + timeout=5): """Invoke task with given arguments and fail if exit code != 0 Use runError if you want exit_code to be tested automatically and @@ -179,7 +179,7 @@ class Task(object): return output - def runError(self, args=(), input=None, merge_streams=False, timeout=1): + def runError(self, args=(), input=None, merge_streams=False, timeout=5): """Invoke task with given arguments and fail if exit code == 0 Use runSuccess if you want exit_code to be tested automatically and