summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-04-27 14:07:43 +0300
committerPetri Latvala <petri.latvala@intel.com>2018-04-27 14:07:43 +0300
commitd25cf35a3a8afbc7a6d2eeb702a3e058c6eb0775 (patch)
tree9803ef2ab97b3fde041800e2b1d9dc04b2bce33c
parent5355840d99adfb71a6436b1e6bb1e1d10428935a (diff)
Also lower the watchdog timeout when a test is to be killed
-rw-r--r--runner/executor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/executor.c b/runner/executor.c
index d1eed951..78a1ba5d 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -462,6 +462,7 @@ static int monitor_output(pid_t child,
* dying child be handled normally.
*/
timeout = 2; /* Timeout for waiting selected by fair dice roll. */
+ watchdogs_set_timeout(20);
intervals_left = timeout_intervals = 1;
break;
case 1: