aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Rue <dan.rue@linaro.org>2018-04-25 15:19:53 -0500
committerDan Rue <dan.rue@linaro.org>2018-04-25 15:22:45 -0500
commite0ef7b786d181f4ed3cbf45835e94d58be242335 (patch)
tree8b08b70d4362bd70457a7841c0cdf4b9bc92833b
parent2d579487a200d2550b489ffc0a2464499f9e9293 (diff)
LKFT: templates: Respect job_timeout in test block
job_timeout is used in the individual test definition, and in the overall job run timeout, but it was missed here. This causes jobs such as ltp-syscalls to timeout at 60 minutes, instead of the 120 minutes as defined in the testplan. Change-Id: I7e6752f86da601dc1d555c1aae61e67dd4d41be7 Signed-off-by: Dan Rue <dan.rue@linaro.org>
-rw-r--r--openembedded-lkft/lava-job-definitions/lkft-nfs.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/openembedded-lkft/lava-job-definitions/lkft-nfs.jinja2 b/openembedded-lkft/lava-job-definitions/lkft-nfs.jinja2
index 1176bd79ea..a824196452 100644
--- a/openembedded-lkft/lava-job-definitions/lkft-nfs.jinja2
+++ b/openembedded-lkft/lava-job-definitions/lkft-nfs.jinja2
@@ -12,7 +12,7 @@
- test:
namespace: target
timeout:
- minutes: 60
+ minutes: {% if job_timeout is defined %}{{ job_timeout }}{% else %}60{% endif %}
definitions:
{% endblock test_target %}